mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
update HA sensors - https://github.com/proddy/EMS-ESP/issues/208
This commit is contained in:
@@ -2,18 +2,18 @@
|
|||||||
state_topic: 'home/ems-esp/thermostat_data'
|
state_topic: 'home/ems-esp/thermostat_data'
|
||||||
name: 'Current Room Temperature'
|
name: 'Current Room Temperature'
|
||||||
unit_of_measurement: '°C'
|
unit_of_measurement: '°C'
|
||||||
value_template: "{{ value_json.thermostat_currtemp }}"
|
value_template: "{{ value_json.hc1.currtemp }}"
|
||||||
|
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
state_topic: 'home/ems-esp/thermostat_data'
|
state_topic: 'home/ems-esp/thermostat_data'
|
||||||
name: 'Current Set Temperature'
|
name: 'Current Set Temperature'
|
||||||
unit_of_measurement: '°C'
|
unit_of_measurement: '°C'
|
||||||
value_template: "{{ value_json.thermostat_seltemp }}"
|
value_template: "{{ value_json.hc1.seltemp }}"
|
||||||
|
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
state_topic: 'home/ems-esp/thermostat_data'
|
state_topic: 'home/ems-esp/thermostat_data'
|
||||||
name: 'Current Mode'
|
name: 'Current Mode'
|
||||||
value_template: "{{ value_json.thermostat_mode }}"
|
value_template: "{{ value_json.hc1.mode }}"
|
||||||
|
|
||||||
# last time esp-esp was started
|
# last time esp-esp was started
|
||||||
- platform: template
|
- platform: template
|
||||||
|
|||||||
Reference in New Issue
Block a user