From ecc7279ea54044fb0f854723cb82e8df563cae84 Mon Sep 17 00:00:00 2001 From: andig Date: Sat, 16 Nov 2024 14:00:53 +0100 Subject: [PATCH] chore: fix quotes --- templates/definition/meter/enphase.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}