Open N3m3515 opened 1 week ago
Hey there @tuya, @zlinoliver, @frenck, mind taking a look at this issue as it has been labeled with an integration (tuya
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
tuya documentation tuya source (message by IssueLinks)
Is CCT mode available through the Tuya integration? I cannot get it to work.
Is CCT mode available through the Tuya integration? I cannot get it to work.
Not yet. That is what this issue is about.
@N3m3515 there is this PR open about it.
@N3m3515 there is this PR open about it.
But the PR is not for this specific Light?
Tuya should already support CCT afaik. The issue mentioned (and PR I opened) won't necessarily fix your problem. You should try testing it out with the provided code fix (in the PR) and your specific bulbs. The issue is about bulbs that don't support color temperature, but just a white mode.
Your bulb is likely not supported because the field "category"
with value "tyd"
is not in the list of available lights.
If you check light.py in the tuya component, you will see a pre-defined constant called LIGHTS
which defines all the light categories and their TuyaLightEntityDescription
. tyd
is not in the list and needs to be added. Normal lights, like the one in the mentioned issue, are category dj
.
The problem
Dim- Light-CCT shows up as unsupported
What version of Home Assistant Core has the issue?
core-2024.10.1
What was the last working version of Home Assistant Core?
No response
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
tuya-01J2TZX9CB28M214R9A30YHTKB-Aussenleuchte 9a-bee94d2122d72af3ee5c0edef9fa86e8.json
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response