Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template:
- - trigger:
- - platform: state
- entity_id: light.kerstverlichting
- to: "unavailable"
- for: "00:05:00"
- - platform: state
- entity_id: light.kerstverlichting
- to: "unknown"
- for: "00:05:00"
- - platform: state
- entity_id: light.kerstverlichting
- not_to: ["unavailable", "unknown"]
- binary_sensor:
- - name: "Kerstverlichting in gebruik"
- unique_id: "kerstverlichting_in_gebruik"
- state: >
- {{ states('light.kerstverlichting') not in ['unavailable', 'unknown'] }}
- availability: >
- true
- device_class: connectivity
Advertisement
Add Comment
Please, Sign In to add comment