Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option for a night-time scene #953

Open
edalquist opened this issue Mar 26, 2024 · 2 comments
Open

Add an option for a night-time scene #953

edalquist opened this issue Mar 26, 2024 · 2 comments

Comments

@edalquist
Copy link

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%

@ncd7
Copy link

ncd7 commented Apr 1, 2024

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!

@edalquist
Copy link
Author

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

@edalquist edalquist changed the title Add an option for turning the light off / on overnight, IE min brightness of 0% Add an option for a night-time scene Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants