Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. - alias: Movement detected @ Hall
  2. initial_state: true
  3. trigger:
  4. - platform: state
  5. entity_id: binary_sensor.motion_sensor_158d0002236ccd
  6. from: 'off'
  7. to: 'on'
  8. condition:
  9. condition: and
  10. conditions:
  11. - condition: time
  12. after: '20:00:00'
  13. - condition: time
  14. before: '21:29:00'
  15. action:
  16. - service: light.turn_on
  17. entity_id: light.lamapada_philips
  18. data:
  19. brightness: 255
  20. kelvin: 3700
  21. transition: 3
  22. - service: switch.turn_off
  23. entity_id: switch.light_dosfocos
  24. - service: switch.turn_off
  25. entity_id: switch.lightdaentrada
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement