Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - platform: template
- sensors:
- camera_ac_temperature_status:
- friendly_name: "Stato temperatura condizionatore camera"
- value_template: >-
- {% if state_attr('climate.condizionatore_camera', 'current_temperature') < (state_attr('climate.condizionatore_camera', 'temperature')-0.3) %}
- low
- {% elif state_attr('climate.condizionatore_camera', 'current_temperature') > (state_attr('climate.condizionatore_camera', 'temperature')+0.3) %}
- high
- {% else %}
- normal
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement