Update Shelly 3em template

Add energy values to charge usage
This commit is contained in:
Andreas Linde 2022-10-08 10:17:05 +02:00
parent f38ac299ef
commit d81f0a05ba
No known key found for this signature in database
GPG key ID: 96178502495847D9

View file

@ -13,7 +13,7 @@ render: |
source: http
uri: http://{{ .host }}/status
jq: .emeters | map(.power) | add
{{if eq .usage "grid" -}}
{{- if or (eq .usage "charge") (eq .usage "grid") }}
energy:
source: http
uri: http://{{ .host }}/status