Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### מצב דלת ###
- - platform: template
- sensors:
- front_door:
- friendly_name: "Front Door"
- value_template: >-
- {% if is_state('binary_sensor.switch_158d0001f36255', 'on') %}
- Open
- {% else %}
- Closed
- {% endif %}
- icon_template: >-
- {% if is_state('binary_sensor.switch_158d0001f36255', 'on') %}
- mdi:door-open
- {% else %}
- mdi:door-closed
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement