Open Paalap opened 1 week ago
from functions.colors import convert_rgb_xy, hsv_to_rgb
is missing in the import section.
where does light.protocol_cfg["strictusexy"]
come from? its not in the light_types.py
or is it added manually to the lights config file?
@hendriksen-mark : my bad - now it is in; The entry in the protocol cfg is assumed to be done manually (for this was/is ok, as I had the issue only with 2 devices)
Its also better to include it in the discovery with False
so people dont have to guess where to put it.
What is the make and model of the lights you need this for?
Tuya RGBW Controller or to be detailed: TSO504B / TZ3210_elzv6aia
And yes running on z2m the issue wasn't there but in my particular case I want to run it on the hue bridge.
I've experienced an issue with some third party devices on the hue bridge, as they would not work with rgb or hsv. A manual entry of strictusexy = true in the light's protocol config allows you to fix this issue.