Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - id: test
- alias: 'Dod on for 15min'
- initial_state: 'on'
- trigger:
- - platform: state
- entity_id: binary_sensor.door_window_sensor_158d00039d8d54
- to: 'on'
- action:
- - service: switch.turn_on
- data:
- entity_id: switch.mqtt
- - delay: 00:15:00
- - service: switch.turn_on
- data:
- entity_id: switch.mqtt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement