From cf4145caa972a5468523f0b4987a0e2d9886ba81 Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 13 Oct 2019 22:17:14 +0200 Subject: [PATCH] update HA sensors - https://github.com/proddy/EMS-ESP/issues/208 --- doc/home assistant/sensor.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/home assistant/sensor.yaml b/doc/home assistant/sensor.yaml index 9bc626fba..e9f7efcfd 100644 --- a/doc/home assistant/sensor.yaml +++ b/doc/home assistant/sensor.yaml @@ -2,18 +2,18 @@ state_topic: 'home/ems-esp/thermostat_data' name: 'Current Room Temperature' unit_of_measurement: '°C' - value_template: "{{ value_json.thermostat_currtemp }}" + value_template: "{{ value_json.hc1.currtemp }}" - platform: mqtt state_topic: 'home/ems-esp/thermostat_data' name: 'Current Set Temperature' unit_of_measurement: '°C' - value_template: "{{ value_json.thermostat_seltemp }}" + value_template: "{{ value_json.hc1.seltemp }}" - platform: mqtt state_topic: 'home/ems-esp/thermostat_data' name: 'Current Mode' - value_template: "{{ value_json.thermostat_mode }}" + value_template: "{{ value_json.hc1.mode }}" # last time esp-esp was started - platform: template