ollo69 / ha_tuya_custom

Tuya Custom Component for testing
Apache License 2.0
39 stars 18 forks source link

White color is using RGB rather than white LED's #29

Open codeblue11 opened 3 years ago

codeblue11 commented 3 years ago

When I turn the bulb white using HA it uses only the RGB LED's and is a very dim bluish white even at 100% brightness. If I turn it white using the Tuya app it uses the white LED's and is much brighter.

Once I turn it white using the Tuya app it will use the white LED until I change colors with HA, then it will revert to using the RGB LED's to make white again whenever I try controlling with HA. I have to go back into the Tuya app to get it back to the white LED.

This issue occurs both when using the color wheel picker in HA and using Alexa via Nabu Casa to try to change light colors. When I say Alexa, turn the light white it will use the RGB white.

The bulbs I'm using are these Merkury bulbs https://www.amazon.com/dp/B0792LR3KS/

c0m3r commented 3 years ago

Also seeing this issue. Behaviour is not seen in version 0.0.18 and was introduced in 0.0.19

ollo69 commented 3 years ago

Looks like when one piece is fixed another is broken with this API. It is normal that issue come from version 0.0.19, because here was introduced "forced color mode". Please enable debug for component and provide debug lig containg 10-15 minutes of device status change and control, is the only way I can try to understand what is happening