adaptive-lighting
adaptive-lighting copied to clipboard
Add an option for a night-time scene
I'm trying to use Adaptive Lighting on a grow light an would like it to be 100% automated with the light off for the period of time that Adaptive Lighting currently has it at 1%
That would be a nice feature. Actually, I would generalize it a bit to be possible to have a 'night scene' so when AL intercepts a turn on, it will actually activate the 'night time' scene. The reason I want this is that even at 1%, lights can be too bright. Instead, I'd like to have only a single light on in each room. I suspect @edalquist you want this feature for a similar reason.
So to me the ideal solution would be a 'night-mode' scene you can configure which will be active also for the duration of some configuration period during the night.
If you agree, perhaps you can reword your title of the request.
Thanks!
Yes in my case I want a "night time" scene that is all-off.
My current work-around is the following automation:
alias: "!Aquaponics On/Off"
description: ""
trigger:
- platform: numeric_state
entity_id:
- switch.adaptive_lighting_aquaponics_lights
attribute: brightness_pct
above: 1.1
id: ABOVE_ONE
- platform: numeric_state
entity_id:
- switch.adaptive_lighting_aquaponics_lights
attribute: brightness_pct
below: 1.1
id: BELOW_ONE
condition: []
action:
- choose:
- conditions:
- condition: trigger
id:
- ABOVE_ONE
sequence:
- service: adaptive_lighting.apply
data:
turn_on_lights: true
entity_id: switch.adaptive_lighting_aquaponics_lights
- conditions:
- condition: trigger
id:
- BELOW_ONE
sequence:
- service: light.turn_off
target:
device_id: 3441a492b67a496972f83ecee2323ea6
data: {}
mode: single