Youless: add currents (#24873)

This commit is contained in:
harmendp 2025-11-02 13:11:25 +01:00 • committed by GitHub
parent 5f14c02077
commit 0bcca69b8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,6 +24,26 @@ render: |
source: http
uri: http://{{ .host }}/e
jq: .[0]|.p1+.p2
currents:
- source: http
uri: http://{{ .host }}/f
jq: .i1
- source: http
uri: http://{{ .host }}/f
jq: .i2
- source: http
uri: http://{{ .host }}/f
jq: .i3
powers:
- source: http
uri: http://{{ .host }}/f
jq: .l1
- source: http
uri: http://{{ .host }}/f
jq: .l2
- source: http
uri: http://{{ .host }}/f
jq: .l3
{{- end }}
{{- if eq .usage "pv" }}
power: