Solax Cloud: fix quoting

This commit is contained in:
andig 2025-04-29 12:05:16 +02:00
parent 67449ed79a
commit b6f5293d96

View file

@ -39,7 +39,7 @@ render: |
# Mini WR XXXXXXXXXXXX
# AC Power
source: http
uri: https://www.solaxcloud.com/proxyApp/proxy/api/getRealtimeInfo.do?tokenId={{ urlEncode .tokenid }}&sn={{ urlEncode .serial }}
uri: https://www.solaxcloud.com/proxyApp/proxy/api/getRealtimeInfo.do?tokenId={{ unquote .tokenid }}&sn={{ unquote .serial }}
jq: if .result.acpower < 10 then 0 else .result.acpower end # Solax API Inverter.AC.power.total
cache: 2m30s
{{- end }}