Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - alias: Movement detected @ Hall
- initial_state: true
- trigger:
- - platform: state
- entity_id: binary_sensor.motion_sensor_158d0002236ccd
- from: 'off'
- to: 'on'
- condition:
- condition: and
- conditions:
- - condition: time
- after: '20:00:00'
- - condition: time
- before: '21:29:00'
- action:
- - service: light.turn_on
- entity_id: light.lamapada_philips
- data:
- brightness: 255
- kelvin: 3700
- transition: 3
- - service: switch.turn_off
- entity_id: switch.light_dosfocos
- - service: switch.turn_off
- entity_id: switch.lightdaentrada
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement