Repository navigation
Replies: 2 comments 1 reply
|
Just curious, why are you manually marking it as manual? The integration should be monitoring the lights and will mark it automatically as soon as you make a change.
Just make the change you want without worrying about marking it as manually controlled. |
|
Old one, still happens though. Doesn't just happen when you call Since the manual control event is fired consistently and quickly though, the workaround I'm using is automation:
- id: refresh_adaptive_lighting_manual_control
alias: Refresh Adaptive Lighting Manual Control
triggers:
- trigger: event
event_type: adaptive_lighting.manual_control
event_data:
switch: switch.adaptive_lighting_default
actions:
- action: homeassistant.update_entity
data:
entity_id:
- switch.adaptive_lighting_default
mode: queuedwhich basically does the same thing without modifying the integration code. Works well for me. FWIW my use case is here. I have multi-gang switches, where each switch is a toggle (activating a scene/normal adaptive lighting if it isn't active, otherwise turning off the light). If you go from adaptive -> scene -> adaptive, that last adaptive press won't get the |
Uh oh!
There was an error while loading. Please reload this page.
Has anyone else noticed this?
If I make a service call to turn off manual control, the light is almost instantly removed from the "manual_control" attribute of the AL switch.
But if I make a service call to turn on manual control, it takes 5+ seconds for the light to be added to the "manual_control" attribute of the switch.
Does anyone know why this is the case? Also, does the addon internally reflect this immediately or it truly takes this long to take over manual control?
The reason I've noticed this is I'm using this in a dashboard to allow people to explicitly enable/disable manual control and "user" are complaining (hrmph :P) that turning on manual control doesn't work because they are too impatient to wait 5-6 seconds. And by users I mean the family hehe.
All reactions