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

No transition since 2023.1 #86646

Closed
Friedi1970 opened this issue Jan 25, 2023 · 44 comments
Closed

No transition since 2023.1 #86646

Friedi1970 opened this issue Jan 25, 2023 · 44 comments

Comments

@Friedi1970
Copy link

The problem

Transition for turning off lights. I’m using DeConz with HUE bulbs.
Before 2023.1 every Automation with transition worked fine. Now transition is completely ignored.

What version of Home Assistant Core has the issue?

core-2023.1.7

What was the last working version of Home Assistant Core?

core-2022.12.x

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Light

Link to integration documentation on our website

https://www.home-assistant.io/integrations/light/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Unfortunately not.

Additional information

No response

@home-assistant
Copy link

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (light) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of light can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Change the title of the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign light Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


light documentation
light source
(message by IssueLinks)

@vBrolin
Copy link

vBrolin commented Jan 25, 2023

Having this issue as well in Deconz, transition works fine for other integrations.

@Saugerpaul
Copy link

Same here with deconz and hue bulbs.

@prof7bit
Copy link

Seems to be related to deconz. I have deliberately not updated Home Assistant anymore since the debacle with the messed up color changes, but a few days ago there was a deconz update, and immediately after that my transitions stopped working.

@vBrolin
Copy link

vBrolin commented Jan 26, 2023

Had the same thought, and tried rolling back deconz to the second to last version, but it still wouldn't do transitions.

@Reinqusito
Copy link

+1 for thi issue

@alexanderdominicnesbitt

Having same issue with IKEA bulbs. Zigbee2mqtt, Home assistant yellow.

@Friedi1970
Copy link
Author

Having same issue with IKEA bulbs. Zigbee2mqtt, Home assistant yellow.

So, it seems it is not regarding DeConz but a core issue.

@MrTango
Copy link

MrTango commented Jan 28, 2023

same here, Ikea bulbs with zigbee2mqtt and the slae.sh stick.

@prof7bit
Copy link

prof7bit commented Jan 28, 2023

It has to do with Deconz,
it has nothing to do with Home Assistant.

I am still running home assistant 2022.11.5 (paused all my upgrading for other reasons, until the dust has settled)

I was using a transition to turn-on / fade-off some Ledvance Zigbee bulbs.

turn_on:

data: {
  brightness: 255,
  kelvin: 2900,
  transition: 0
}

turn_off:

data: {
  transition: 10
}

I have been calling theses services from node-RED and it has been working flawlessly all the time until exactly 4 days ago.

  • Before: Turn_off with transition as the only parameter would fade-out (and leave the stored brightness in the bulb at 1 if you turn it on the next time).
  • After: Turn_off with transition will ignore the transition entirely, switch off the bulb immediately and leave the bulb internal value at 255, the next time I turn it on it will already be at full brightness. I also tested the same with native HA call-service scripts, just to rule out node-RED, and it behaves exactly the same in native HA scripts too.

To be absolutely clear: I have been skipping all home assistant updates. I only upgraded the Deconz addon 4 days ago, and then on the same evening I noticed my fade-out stopped working.

The symptom is this:

I can fade between different brightness in the turn_on service, but as soon as I use turn_off the transition is ignored. Also if I use turn_on with brightness 0 it behaves like turn_off, no transition, immediate off.

I downgraded deconz addon to 6.17.1, using a partial restore, and everything immediately began working again.

If I don't find a bug in the Deconz repository (after i found out which of their repositories this is) I am probably going to create one there.

@chpego
Copy link
Contributor

chpego commented Jan 31, 2023

@Kane610 could you add integration label deconz on this issue ? maybe you have an idea?

@Kane610
Copy link
Member

Kane610 commented Feb 1, 2023

@Kane610 could you add integration label deconz on this issue ? maybe you have an idea?

From reading this issue it seems to be related to Deconz itself and not the integration so I would then close this and ask you to report this to Deconz github instead

@chpego
Copy link
Contributor

chpego commented Feb 1, 2023

@Kane610 could you add integration label deconz on this issue ? maybe you have an idea?

From reading this issue it seems to be related to Deconz itself and not the integration so I would then close this and ask you to report this to Deconz github instead

Already done here

@Kane610
Copy link
Member

Kane610 commented Feb 2, 2023

What version of deconz are you running?

If you enable debug logging for the deconz integration in home assistant and then send a command to a light with transition we can see through the logs what is happening. Im quite certain it is something on deCONZ side but lets gather the data.

@1doubleDD1
Copy link

To C/P my comment from similar post https://github.com/dresden-elektronik/deconz-rest-plugin/issues/6709:

I can second this issue.
I'm still on HA 2022.11.4, meaning HA hasn't updated in more than 2 months, but have recently updated deConz from 2.19.1 to 2.19.3 and then to 2.20.1. Can't say exactly in which version this problem occurred, as I only noticed it today (I use transition to off on only 1 light that's a bit out of sight).
If I can somehow assist, please do let me know, but at the moment I need to figure out how to downgrade deConz do older versions to see if the problem still exists.

EDIT: I just downgraded to 2.19.3 and transition to off works perfectly.

@vBrolin
Copy link

vBrolin commented Feb 2, 2023

Tried to downgrade to 2.19.3, and noticed that on both that version and 2.20.1 I can use transition when turning lights on, but transition off isnt working in either of these version.

@1doubleDD1
Copy link

Tried to downgrade to 2.19.3, and noticed that on both that version and 2.20.1 I can use transition when turning lights on, but transition off isnt working in either of these version.

Well sorry to hear that, in my case downgrading resolved 1 of 2 issues I had (except https://github.com/dresden-elektronik/deconz-rest-plugin/issues/6692).

@Kane610
Copy link
Member

Kane610 commented Feb 15, 2023

Sorry for late reply. Its good that you can replicate the issue directly through Phoscon so its clear where the issue is at!

@jtauscher
Copy link

Tried to downgrade to 2.19.3, and noticed that on both that version and 2.20.1 I can use transition when turning lights on, but transition off isnt working in either of these version.

Same problem with tasmota device/integration. Fade out works fine. Fade in jumps right to target value if light is turned off at the beginning. Fade in only works, if dim value is larger 0 already. So if set dim value manually to 1% I can start transition/ "fade in" to e.g. 100% using transition.

@pedolsky
Copy link

Tested with Ikea, Philips Hue, innr and Lidl. Transition on/off is ignored.

@Sese-Schneider
Copy link

+1

@pedolsky
Copy link

Tested with Ikea, Philips Hue, innr and Lidl. Transition on/off is ignored.

Wanted to add, that none of that lights are connected via Deconz.

@tjakobi
Copy link

tjakobi commented Feb 28, 2023

Similar issue here, latest home assistant with bulbs from Ikea and Sengled connected through mqtt2zigbee. However, I cannot get transition to work.

@PolestarWx
Copy link

I use deconz 6.18.0 and Hassio 2023.2.5 and since 1 or 2 month I don't have any transition too

@robberburn
Copy link

robberburn commented Mar 1, 2023

Same here with new skyconnect and conbee2, both with zha. Now with Z2M, not working too.

@neothermic
Copy link

neothermic commented Mar 1, 2023

To be clearer, transition times are respected for light.turn_on to any% except 0. Light.turn_on to 0% results in a snap, as does light.turn_off with any transition time set.

Edited for accuracy after further testing

@PolestarWx
Copy link

No one to take on look on this issue ? Quite annoying to not have transition

@PolestarWx
Copy link

Tried to downgrade to 2.19.3, and noticed that on both that version and 2.20.1 I can use transition when turning lights on, but transition off isnt working in either of these version.

How you downgraded ?

@vBrolin
Copy link

vBrolin commented Mar 6, 2023

Tried to downgrade to 2.19.3, and noticed that on both that version and 2.20.1 I can use transition when turning lights on, but transition off isnt working in either of these version.

How you downgraded ?

Restored backup

@Friedi1970
Copy link
Author

Friedi1970 commented Mar 6, 2023

@home-assistant/core (maybe @frenck ?) since there are some users who do not use deconz having the same problem I just kindly ask you to have a look on this issue?

@PolestarWx
Copy link

It broke all my sunrise automation and also dimming light in the evening.. I checked deconz log but nothing relevant at my eyes

@PolestarWx
Copy link

PolestarWx commented Mar 12, 2023

okay this is coming from appdeamon integration from my side, or at least a problem of communication between appdeamon and HA API

Transition from UI are working well. Any of you concerned by this issue, do you use appdeamon ?

Further test show that is not related to app deamon but transition only work if another argument is put, like brightness_pct

@Friedi1970
Copy link
Author

I have never used appdaemon.

@robberburn
Copy link

Me too, never used appdeamon

@robberburn
Copy link

The only working transition is the one for service.turn_on_light. For changing between scenes, this is what I need and what had been working flawlessly, there is no transition anymore

@PolestarWx
Copy link

PolestarWx commented Mar 12, 2023

Ok, using self.turn_on service in appdeamon using transitions does not work even for a single light, this is strange all this inconsistency

@Friedi1970
Copy link
Author

Maybe it's from HA API, do you use any module that use HA API to control your light or the problem appear also when using transitions in UI ?

What API you are talking about? I am just using HA and for Zigbee I am using Deconz.

@PolestarWx
Copy link

PolestarWx commented Mar 12, 2023

Maybe it's from HA API, do you use any module that use HA API to control your light or the problem appear also when using transitions in UI ?

What API you are talking about? I am just using HA and for Zigbee I am using Deconz.

When you use module like appdeamon or nodeRed it uses HA API if I'm right to communicate

@Friedi1970
Copy link
Author

When you use module like appdeamon or nodeRed it uses HA API if I'm right to communicate

I neither use appdaemon nor do I use nodered or any other stuff like that. I assume this has nothing to do with the issue I posted.

@PolestarWx
Copy link

PolestarWx commented Mar 15, 2023

When you use module like appdeamon or nodeRed it uses HA API if I'm right to communicate

I neither use appdaemon nor do I use nodered or any other stuff like that. I assume this has nothing to do with the issue I posted.

Just tested something this mornig, it seems transition only work if I set the target brightness, if not, transition time is not respected, but if I set brightness_pct, it is.

Initially in UI it worked because I have this target brightness set, I try to remove it and the same behaviour as app deamon happened, so this problem is from HA side.

Of course you cannot set turn off argument aside of transition so turn_off transition is not working at all

@huubke80
Copy link

I have the same issue
Running HA 2023.3.5
Was running deconz 2.20.1 no transition, Ikea tradfri bulbs switch off immediately.
After downgrade deconz to 2.19.3 as mentioned before it was working again.

@srikengames
Copy link

Also experiencing issues

@milandzuris
Copy link

same problem last 2 years tested: yeelight and tuya

@issue-triage-workflows
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@issue-triage-workflows issue-triage-workflows bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 8, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Sep 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests