diff --git a/templates/definition/meter/sunspec-hybrid.yaml b/templates/definition/meter/sunspec-hybrid.yaml index 91cc0cec8..fb12fc94c 100644 --- a/templates/definition/meter/sunspec-hybrid.yaml +++ b/templates/definition/meter/sunspec-hybrid.yaml @@ -14,9 +14,9 @@ params: - name: capacity advanced: true render: | - {{- if eq .usage "grid" }} type: custom # sunspec model 203 (int+sf)/ 213 (float) meter + {{- if eq .usage "grid" }} power: source: sunspec {{- include "modbus" . | indent 2 }} @@ -80,7 +80,6 @@ render: | - 213:WphC {{- end }} {{- if eq .usage "pv" }} - type: custom power: source: calc add: @@ -103,7 +102,6 @@ render: | scale: 0.001 {{- end }} {{- if eq .usage "battery" }} - type: custom power: source: calc add: diff --git a/templates/definition/meter/sunspec-inverter.yaml b/templates/definition/meter/sunspec-inverter.yaml index f3fbceb76..3c4a694e1 100644 --- a/templates/definition/meter/sunspec-inverter.yaml +++ b/templates/definition/meter/sunspec-inverter.yaml @@ -12,8 +12,8 @@ params: - name: capacity advanced: true render: | - {{- if eq .usage "grid" }} type: custom + {{- if eq .usage "grid" }} # sunspec model 203 (int+sf)/ 213 (float) meter power: source: sunspec @@ -78,7 +78,6 @@ render: | - 213:WphC {{- end }} {{- if eq .usage "pv" }} - type: custom power: source: sunspec {{- include "modbus" . | indent 2 }} @@ -102,7 +101,6 @@ render: | scale: 0.001 {{- end }} {{- if eq .usage "battery" }} - type: custom power: source: sunspec {{- include "modbus" . | indent 2 }}