Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - alias: 'Play Sonos bad nede'
- trigger:
- - platform: state
- entity_id: binary_sensor.fibaro_system_fgms001zw5_motion_sensor_sensor_3
- from: 'off'
- to: 'on'
- action:
- - service: media_player.turn_on
- entity_id: media_player.bad_nede
- - alias: 'Play Sonos bad oppe'
- trigger:
- - platform: state
- entity_id: binary_sensor.fibaro_system_fgms001zw5_motion_sensor_sensor_4
- from: 'off'
- to: 'on'
- condition:
- - condition: time
- after: '14:00'
- before: '23:00'
- action:
- - service: media_player.turn_on
- entity_id: media_player.bad_oppe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement