Homeassistant Sensor
squekk21
yaml
3 years ago
719 B
6
Indexable
# Restart Homeassistant after create this lines - platform: template sensors: climate_elise_wand_heizen_on: friendly_name: Elise Wand Heizen AN value_template: >- {%- if is_state_attr('climate.elise_wand', 'hvac_action',"idle") -%} 0 {%- elif is_state_attr('climate.elise_wand', 'hvac_action',"off") -%} 0 {%- else -%} 1 {%- endif -%} icon_template: mdi:fire - platform: template sensors: climate_elise_wand_heizen_target: friendly_name: Elise Wand Heizen Ziel value_template: >- {{ state_attr("climate.elise_wand", "temperature") }} icon_template: mdi:thermometer-check
Editor is loading...