From 0420779115f960abc437a60683fd3cf2817814a4 Mon Sep 17 00:00:00 2001 From: Markus Thierolf <77847348+thierolm@users.noreply.github.com> Date: Sun, 3 Apr 2022 17:16:50 +0200 Subject: [PATCH] Tasmota: fix energy meter definition (#3064) --- templates/definition/meter/tasmota.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/definition/meter/tasmota.yaml b/templates/definition/meter/tasmota.yaml index c39e42ac4..2fe19249b 100644 --- a/templates/definition/meter/tasmota.yaml +++ b/templates/definition/meter/tasmota.yaml @@ -15,7 +15,7 @@ render: | source: http uri: http://{{ .host }}/cm?cmnd=Status%208 jq: .StatusSNS.ENERGY.Power - energy: # energy reading (Wh) + energy: # energy reading (kWh) source: http uri: http://{{ .host }}/cm?cmnd=Status%208 - jq: .StatusSNS.ENERGY.Total * 1000 + jq: .StatusSNS.ENERGY.Total