Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Front Door Sensor - Only Have one state
- - platform: mqtt
- name: 'House Front Door'
- state_topic: 'tele/RF_Bridge/RESULT'
- value_template: >-
- {% if value_json.RfReceived.Data == '46FE69' %}
- {{'ON'}}
- {% else %}
- {{states('binary_sensor.house_front_door') | upper}}
- {% endif %}
- off_delay: 15
- device_class: Door
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement