Deye LV: fix energy scaling (#30482)

This commit is contained in:
Blowfly69 2026-06-04 08:07:00 +02:00 • committed by GitHub
parent 92a63d92e2
commit e34459a73f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,7 +98,7 @@ render: |
address: 522 # "Total_GridBuy_Power Wh"
type: holding
decode: uint32s
{{- if and (eq .batterytype "hv") (not .firmware1098) }}
{{- if not .firmware1098 }}
scale: 0.1
{{- end }}
currents:
@ -183,7 +183,7 @@ render: |
address: 534 # "Total_PV_Power_Wh"
type: holding
decode: uint32s
{{- if and (eq .batterytype "hv") (not .firmware1098) }}
{{- if not .firmware1098 }}
scale: 0.1
{{- end }}
{{- if .includegenport }}
@ -193,7 +193,7 @@ render: |
address: 537 # "Total_Gen_Power_Wh"
type: holding
decode: int32s
{{- if and (eq .batterytype "hv") (not .firmware1098) }}
{{- if not .firmware1098 }}
scale: 0.1
{{- end }}
{{- end }}
@ -222,7 +222,7 @@ render: |
address: 518 # "Total discharge of the battery (Wh)"
type: holding
decode: uint32s
{{- if and (eq .batterytype "hv") (not .firmware1098) }}
{{- if not .firmware1098 }}
scale: 0.1
{{- end }}
soc: