Varta: fix register type (#4928)

This commit is contained in:
andig 2022-10-24 19:29:47 +02:00 • committed by GitHub
parent b6e10163c6
commit 3a2b3f547b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -20,7 +20,7 @@ render: |
id: 255
register:
address: 1078 # grid power
type: input
type: holding
decode: int16
scale: -1
{{- end }}
@ -28,7 +28,7 @@ render: |
id: 255
register:
address: 1066 # active power
type: input
type: holding
decode: int16
scale: -1
soc:
@ -37,6 +37,6 @@ render: |
id: 255
register:
address: 1068 # SOC
type: input
type: holding
decode: int16
{{- end }}

View file

@ -20,7 +20,7 @@ render: |
id: 255
register:
address: 1078 # grid power
type: input
type: holding
decode: int16
scale: -1
{{- end }}
@ -28,14 +28,14 @@ render: |
id: 255
register:
address: 1102 # PV-sensor power
type: input
type: holding
decode: uint16
{{- end }}
{{- if eq .usage "battery" }}
id: 255
register:
address: 1066 # active power
type: input
type: holding
decode: int16
scale: -1
soc:
@ -44,6 +44,6 @@ render: |
id: 255
register:
address: 1068 # SOC
type: input
type: holding
decode: int16
{{- end }}