Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - platform: template
- sensors:
- tado_living_room_status:
- value_template: >-
- {%- if states.climate.living_room.attributes.hvac_action == 'heating' -%}
- Heating
- {%- else-%}
- {%- if states.climate.living_room.attributes.hvac_action == 'idle' -%}
- Auto
- {%- else -%}
- {%- if states.climate.living_room.attributes.hvac_action == 'off' -%}
- Off
- {%- else -%}
- Error
- {%- endif -%}
- {%- endif -%}
- {%- endif -%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement