diff --git a/templates/definition/meter/enphase.yaml b/templates/definition/meter/enphase.yaml index 9f5730f72..f49da8019 100644 --- a/templates/definition/meter/enphase.yaml +++ b/templates/definition/meter/enphase.yaml @@ -74,6 +74,6 @@ render: | password: {{ .token }} insecure: true {{- end }} - jq: [.[].devices[] | select(.percentFull != null) | .percentFull] | add / length + jq: '[.[].devices[] | select(.percentFull != null) | .percentFull] | add / length' capacity: {{ .capacity }} # kWh {{- end }}