-
Notifications
You must be signed in to change notification settings - Fork 526
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
None (<class 'custom_components.tuya_local.light.TuyaLocalLight'>) sets invalid supported color modes {<ColorMode.HS: 'hs'>, <ColorMode.BRIGHTNESS: 'brightness'>} #1788
Comments
You did not include any details about what device this report is about, but from a quick scan, it seems it must be |
In HA, brightness is reserved for lights that only support brightness. Lights that support color and white with brightness control but no color temperature, need to use white rather than brightness. Issue #1788
My apology but that was all the info I could gather as there was no other info in the log that told me which device it was related to, but glad that you found the specific device that caused the issue. I made your change to my local copy and I confirm the warning message is now gone. Thanks for the quick action on this. |
In HA, brightness is reserved for lights that only support brightness. Lights that support color and white with brightness control but no color temperature, need to use white rather than brightness. Issue make-all#1788
Describe the bug
None (<class 'custom_components.tuya_local.light.TuyaLocalLight'>) sets invalid supported color modes {<ColorMode.HS: 'hs'>, <ColorMode.BRIGHTNESS: 'brightness'>}, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/make-all/tuya-local/issues
To Reproduce
This error message only appears when HA is restarted.
Please check if there are messages from Tuya Local in the Home
Assistant log (Settings / System / Logs), and include those too.
Logger: homeassistant.components.light
Source: components/light/init.py:1165
integration: Light (documentation, issues)
First occurred: 10:48:19 AM (1 occurrences)
Last logged: 10:48:19 AM
None (<class 'custom_components.tuya_local.light.TuyaLocalLight'>) sets invalid supported color modes {<ColorMode.HS: 'hs'>, <ColorMode.BRIGHTNESS: 'brightness'>}, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/make-all/tuya-local/issues
The text was updated successfully, but these errors were encountered: