diff --git a/templates/definition/meter/sungrow.yaml b/templates/definition/meter/sungrow.yaml index 5a3f06e95..4dec7f84a 100644 --- a/templates/definition/meter/sungrow.yaml +++ b/templates/definition/meter/sungrow.yaml @@ -33,15 +33,15 @@ render: | {{- end }} {{- if eq .usage "battery" }} power: - source: calc + type: calc mul: - source: modbus - {{include "modbus" . | indent 2}} + {{include "modbus" . | indent 4}} register: address: 13021 # Battery power type: input decode: int16 - - source: calc + - type: calc add: - source: modbus {{include "modbus" . | indent 6}}