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

Treat lights in a scene as manually controlled #12

Closed
blueshiftlabs opened this issue Oct 16, 2020 · 8 comments · Fixed by #709
Closed

Treat lights in a scene as manually controlled #12

blueshiftlabs opened this issue Oct 16, 2020 · 8 comments · Fixed by #709

Comments

@blueshiftlabs
Copy link
Contributor

Add support to treat a light as manually controlled if it comes on via a scene. Ideally, this would be configurable to trigger on any scene, or only scenes from a designated list.

You can tell if a light was activated via scene by listening for the call_service event for scene.turn_on. The context for that event will be the same as the context for any later light.turn_on calls the scene triggers.

@basnijholt basnijholt self-assigned this Oct 16, 2020
@basnijholt
Copy link
Owner

This is a great idea, I will try to implement this when I make the time.

@codedesperate
Copy link

Yes, this would be perfect! I have scenes set up with automation for Plex. White color when watching movies, dim when playing, bit brighter when pausing etc.

But what happens is adaptive lighting keeps messing with the color of the bulbs.

@basnijholt I sure do hope you will find time for it at some point :)

@paviro
Copy link

paviro commented May 29, 2021

If added please make this optional :) I use scenes in https://github.com/benleb/ad-automoli to enable different lights depending on the time of day. They only turn the lights on and don't have any brightness / color information so that adaptive-lighting can then change it depending on the time. If I want a scene to really stick I just add the adaptive-lighting switch to the scene and disable it temporarily.

Having an option for this is nice of course or as @blueshiftlabs noted maybe a list of scenes where it shouldn't adjust the settings. I also have scenes where I use colors and disable the color part of adaptive-lighting while they are active so that the brightness still changes but not the Colors.

@RubenKelevra
Copy link
Collaborator

Hey @blueshiftlabs,

I think this is very similar to the issue #132. Can you read it and report back if we can merge these both together somehow?

The question here is, would it be enough for you to just change the light temperature/brightness and the active light bulbs between profiles, or do you need more functionality?

@RubenKelevra RubenKelevra changed the title Feature request: Treat lights in a scene as manually controlled Treat lights in a scene as manually controlled Jul 31, 2021
@RubenKelevra
Copy link
Collaborator

This went stale.

@martinusje
Copy link

Hi, is there any update on this?
I can not find a way to enable a scene while the lights are off without AL taking over! Even if I enable manual_control before turning them on from the scene, it still immediately takes over. Is there a way for AL to recognize the lights turning on from a scene and therefore not taking over?

@turkomano
Copy link

I am facing the same issue, I have to enable scene's once, twice or even thrice for my scene to properly activate. This is due to AL taking over control, although take_over_control is enabled. There should be a way to turn on lights without triggering AL (f.e. an attribute to the light.turn_on service.

@basnijholt
Copy link
Owner

I fixed this yesterday with #709.

Please try out 1.19.0 (beta)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment