Guest User

Light Brightness Ramping Loop - Bedroom Ceiling

a guest
Jul 16th, 2025
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. alias: "Light Brightness Ramping Loop - Bedroom Ceiling"
  2. mode: single
  3. trigger:
  4. - platform: time_pattern
  5. milliseconds: "/300"
  6. condition:
  7. - condition: or
  8. conditions:
  9. - condition: state
  10. entity_id: input_boolean.brightness_up_hold
  11. state: "on"
  12. - condition: state
  13. entity_id: input_boolean.brightness_down_hold
  14. state: "on"
  15. action:
  16. - choose:
  17. - conditions:
  18. - condition: state
  19. entity_id: input_boolean.brightness_up_hold
  20. state: "on"
  21. sequence:
  22. - service: light.turn_on
  23. data:
  24. brightness_step: 10
  25. transition: 0.3
  26. target:
  27. entity_id: light.bedroom_ceiling_lights
  28. - conditions:
  29. - condition: state
  30. entity_id: input_boolean.brightness_down_hold
  31. state: "on"
  32. sequence:
  33. - service: light.turn_on
  34. data:
  35. brightness_step: -10
  36. transition: 0.3
  37. target:
  38. entity_id: light.bedroom_ceiling_lights
Advertisement
Add Comment
Please, Sign In to add comment