-
Notifications
You must be signed in to change notification settings - Fork 125
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
[Bug] Manually controlled not set when issuing multiple entity id's in same light.turn_on #39
Comments
I can confirm that this is a bug! I will attempt to fix it ASAP. |
Using Node-RED and a single service call to light.turn_on changes both light.couch_right and light.window_left, but AL only picks up that light.couch_right should be manually controlled.
If I recreate a single service call with HA developer tools I'm unable to recreate your results, as AL doesn't pick up any of the events as manually controlled...
|
I have pushed some small updates regarding the manual_control event. It should also be logged when an event is fired now. I can still not reproduce the problem you are seeing though... Could you check again after updating? |
Unfortunately it's still the same, also after switching from deCONZ to ZHA just to be sure :/ Multiple lights in the same service-call:
One service call for each light:
But as mentioned earlier, this is via Node Red. I will try to recreate the automation in HA during the holidays and see if it has the same behavior. |
OK, I think I am closer to finding a solution. It seems like that when you call Perhaps I couldn't reproduce it at first because you don't have the |
I now understand why that |
Solves the bug reported in basnijholt/adaptive-lighting#39
I am pretty sure I have fixed this bug in 4257d27. I am closing this now. Please let me know if it works for you (or not). |
That update did the job 😀 Both lights are now detected as manually controlled when issued in the same service call. |
I'm using Node-RED for most of my automation, and when issuing multiple entity ID's in the same service call the lights changes, but they are overridden by AL on the next interval.
Separating them into different service calls for each light makes AL pick up that they have been manually controlled.
This might be related to #10 if they are also issuing multiple entity id's in the same call?
Single service call
Single service call, manual control not triggered.txt
Multiple service call, manual control triggered.txt
The text was updated successfully, but these errors were encountered: