-
Notifications
You must be signed in to change notification settings - Fork 501
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
Transition (fading in/out of lights) stopped working in .76 in home assistant #2791
Comments
I use the latest Home Assistant version, 0.110.1 and I run the marthoc docker dist. |
More details on the issue. Here is the API exchange between Home Assistant and Deconz. On/Off works like expected - but with "transition" declared in my automation it does not compute fully with .76 - it just turns off with the default transitiontime (1-2 seconds ish). I use this automation in Home Assistant (dim from 100% down to 0 (off) in 30 seconds):
The following outcome in the debug log from Home Assistant with version .76 (when the button is being pushed) - the lights turns off (with a default transition of 1-2 sec ish?):
And here is the exact same log from Home Assistant using .75 - the lights dim/transitions to off state 30 seconds later:
|
A PUT to a light The change was intentional, see #1111 (comment):
I don't recall exactly what I was thinking back in January. Not all lights will actually turn off on Move to Level (with On/Off), so maybe that was my reasoning no longer to send Move to Level (with On/Off). But indeed, now it's no longer possible to turn a light off slowly with one REST API call. I still think it's a good idea to have changed the logic for |
Ok, with ebaauw@56b3624, the behaviour should be:
This is the same as the Hue bridge, except for Note that Off with Effect is sent only to Hue lights; Off is sent to other lights. |
Mr. Ninja! Thanks! <3 |
Thanks @ebaauw 👍 there will be a v2.05.77 small bug fix release later today which includes the fix. |
Hi, I'm running 2.05.77 and I have issues with the light turn on/off together with transition.
and
Both with the same error if the light is already off.
This is a big issue when using scripts for turning off lights, the script won't work at all. |
@axlthorell What lights do you have? What API calls does your script make? |
@ebaauw I have IKEA Trådfri lights. As far as I know this issue started either when upgrading my deconz plugin from 5.3.2 (deCONZ 2.05.75) or from upgrading HA to 110.3, done at the same time. |
Sorry, I don't know HA. I need to see what API requests HA sends to deCONZ.
|
@ebaauw Not quite sure how I activate debug, do I need to run deCONZ from command line? |
@ebaauw is this it? |
No, that's the API reporting the changed light state back to HA. |
Downgraded deCONZ to 2.05.75 and it works again. |
This bug has been resolved in .77 |
Hello!
The transition feature is being ignored in .76. Works great in .75
Example from an automation in Home Assistant - it fades out over a time of 30 seconds (in .75) but just turns off in .76:
The text was updated successfully, but these errors were encountered: