Kostal Plenticore: fix pv energy encoding (#30862)

This commit is contained in:
Ingo 2026-06-15 07:01:34 +02:00 • committed by GitHub
parent 81a84fcf81
commit 361f92878a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ render: |
register:
address: 1056 # total DC PV energy (sum), Wh
type: holding
decode: float32s
encoding: {{ if (eq .endianness "big") }}float32{{ else }}float32s{{ end }}
scale: 0.001 # Wh -> kWh
maxacpower: {{ .maxacpower }} # W
{{- end }}

View file

@ -65,7 +65,7 @@ render: |
register:
address: 1056 # total DC PV energy (sum), Wh
type: holding
decode: float32s
encoding: {{ if (eq .endianness "big") }}float32{{ else }}float32s{{ end }}
scale: 0.001 # Wh -> kWh
maxacpower: {{ .maxacpower }} # W
{{- end }}