ScymnusRIP

Day/Night time automation

Jul 30th, 2021 (edited)
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.50 KB | None | 0 0
  1. # This Day/Night time automation. It turns on and off a bunch of lights at a certain time every day.
  2. id: '156numbershere'
  3. alias: 'all lights off '
  4. trigger:
  5. at: 02:00:01
  6. platform: time
  7. condition: []
  8. action:
  9. data:
  10. entity_id: group.all_lights
  11. service: light.turn_off
  12. entity_id: light.color_temperature_light_1
  13. service: light.turn_off
  14. entity_id: light.table_lamp
  15. service: light.turn_off
  16. data: {}
  17. service: script.walllightoff
  18. data: {}
  19. entity_id: switch.sonoff_1000af10aa
  20. service: switch.turn_off
Add Comment
Please, Sign In to add comment