Advertisement
Guest User

Untitled

a guest
Nov 19th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. dark_lights:
  2. sequence:
  3. - service: light.turn_on
  4. entity_id:
  5. - light.window_main_room_1
  6. - light.window_main_room_2
  7. - light.interior_dinner_room_1
  8. - light.interior_philip_1
  9. data_template:
  10. brightness: "{{ states('sensor.time_brightness')|int }}"
  11. - service: switch.turn_on
  12. entity_id:
  13. - switch.window_dinner_room
  14. - switch.window_kitchen
  15. - switch.window_laundry
  16. - switch.window_office
  17. - switch.window_philip
  18. - service: switch.turn_on
  19. entity_id:
  20. - switch.front_door_hallway
  21. - switch.interior_laundry
  22. - switch.interior_main_room
  23. - service: switch.turn_on
  24. entity_id:
  25. - switch.wall_dinner_room
  26. - switch.wall_fire_place
  27. - switch.wall_main_room
  28. - service_template: >
  29. {%- if now().strftime('%H%M')|int < 1000 -%}
  30. switch.turn_on
  31. {% endif %}
  32. entity_id: switch.window_master_bedroom
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement