From 7f0306dd0070475a3013fd2f30b573b1629fd786 Mon Sep 17 00:00:00 2001 From: andig Date: Sun, 3 Mar 2024 13:23:04 +0100 Subject: [PATCH] chore: minor --- templates/definition/meter/goodwe-hybrid.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/definition/meter/goodwe-hybrid.yaml b/templates/definition/meter/goodwe-hybrid.yaml index 984979bce..02f37f48b 100644 --- a/templates/definition/meter/goodwe-hybrid.yaml +++ b/templates/definition/meter/goodwe-hybrid.yaml @@ -84,9 +84,6 @@ render: | address: 37007 # SOC First group battery capacity type: holding decode: uint16 - {{- if .capacity }} - capacity: {{ .capacity }} # kWh - {{- end }} energy: source: modbus {{- include "modbus" . | indent 2 }} @@ -95,4 +92,5 @@ render: | type: holding decode: uint32 scale: 0.1 + capacity: {{ .capacity }} # kWh {{- end }}