Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Turn off living room lights at 22:00 if Pioneer is off
- trigger:
- - at: '22:00'
- platform: time
- condition:
- - condition: state
- entity_id: media_player.pioneer_avr
- state: 'Off'
- - after: '21:00'
- before: 01:00
- condition: time
- action:
- - data:
- entity_id: light.vardagsrum
- service: light.turn_off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement