-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
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
2024.4 Tuya integration shows wrong color mode #116326
Comments
Hey there @tuya, @zlinoliver, @frenck, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) tuya documentation |
I am also having experiencing this issue with 5 lights. This was not previously an issue, appears to have originated with the 2024.4 release. |
same problem on 2024.5.0 Please can somebody give this some attention. I really want to upgrade, but this tuya issue prevents me from doing this :-( |
Please roll back the changes, this clearly wasn't fully tested and is affecting a specific type of device. As the tuya integration is part of core this needs to be rectified |
just for your interest: originally I created #115056 . @Kelso-Utah provided a workaround, but only for very urgent cases, because the provide solution is "This project will no longer continue to iterate" |
Problem still exist in 2024.5.1 |
2024.5.3. Still same problem |
I have the problem as well. Would be nice to have it fix in this months releases |
Is this issue being investigated? This code change introduced issue breaks the whole point of having HA in my situation and is causing grief. How did a change go through without notification in the release notes? Once items were moving into core, i would of expected changes to be a lot more controlled. |
Is there any way to set this on the roadmap? It' really annoying to be stuck on version 2024.3.3 and not able to upgrade without braking my whole smarthome... :-( |
Ok I believe I have found the root cause of the issue (quite annoyed that the developers haven't looked into this). In commit #110327 Line 508 the function filter_supported_color_modes is introduced / used for the first time. That specific function removes ColorMode.BRIGHTNESS from the list provided to it. |
Ok on an initial test HA returned the following error, so it appears there is some group forcing changes to removing color modes that some device require, for example our RGB+CCT lights. Its is affecting multiple integrations (for example Wiz) and I think that is why the developers are ignoring these bug reports. I am now close to ditching Home Assistant if these kinds of short sighted changes are being made to fundamental integrations. Where is the documentation stating these changes and their reasoning?? Logger: homeassistant.components.light None (<class 'custom_components.tuya.light.TuyaLightEntity'>) sets invalid supported color modes {<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.HS: 'hs'>}, this will stop working in Home Assistant Core 2025.3, please report it to the author of the 'tuya' custom integration |
* Simplify color mode logic in Tuya light * Remove exclusion from LightEntity.__should_report_light_issue * Fix test
I have the same issue with all my Tuya lights (white + color + dimming) |
Hi @EdSpatariu Grtz |
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. |
The problem
Hi,
Since HA 2024.4.0 I noticed that HA does not show the color mode correctly of certain Tuya bulbs,
The problem only raises for bulbs that support white and color modus, without the abality to change the white color temperature
Than
This makes that all my Tuya bulbs become more or less useless in HA:
Anybody same problem?
Any solution?
PS. I'm creating a new issue here because #115056 was not picked up by the @homeassistant bot
What version of Home Assistant Core has the issue?
core-2024.4.0
What was the last working version of Home Assistant Core?
core-2024.3.3
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Tuya
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tuya/
Diagnostics information
I filterd logs on device bf9447a3e3f58bed9af04x
HA 2024.4.4 (with issue)
home-assistant_tuya_2024-04-28T10-39-58.635Z.log
HA 2024.3.3 (no issue)
home-assistant_tuya_2024-04-28T10-45-09.326Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
You can find more detailed information in #115056
The main issue is that since HA 2024.4.x, it does not recognize the "brightness" modus of this tuya bulb!
What you can see here: same light, but other version of HA:
HA 2024.3.3
HA 2024.4.2
So it seems that HA 2024.4.x does not recognize the "brightness" modus of this tuya bulb!
I have a feeling that this problem was introduced with
#110327
resulting in
770e48d
To me it seems that following logic is missing in latest version

The text was updated successfully, but these errors were encountered: