Sungrow: fix template error
This commit is contained in:
parent
af03bbb6e0
commit
9b15f1544c
1 changed files with 3 additions and 3 deletions
|
|
@ -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}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue