PaulAnnekov / tuyaha

Implements the special Tuya Home Assistant API.
Other
141 stars 106 forks source link

Support for Combo Fan & Light Switches #84

Open NichCitarella opened 3 years ago

NichCitarella commented 3 years ago

So I am looking to get support for a combo Fan and Light switch. I read somewhere that someone had success using fanLight as an entity but now I can’t seem to find where I read that.

I sent an email to tuya to see if I hear anything back but yea…giant shrug emoji

Taylorp913 commented 3 years ago

I was able to add the treatlife dimmer/fan switch to the tuya app by adding it as a dimmer. The tuya app has complete control like the treatlife app, but in home assistant the only entity available through the integration is the fan. At least that is something, but I wish I had the light too.

andrewgarvin commented 3 years ago

I have the same issue. I purchased one of these Treatlife combo ceiling fan and dimmer light switch units. I integrated it into Smart Life and I can see it in Home Assistant via the Tuya integration, but it only shows the fan switch, not the light switch. The fan part works great, I can turn it on/off and set the speed (4 speeds). But the light part is missing.

PaulAnnekov commented 3 years ago

You can check what https://github.com/PaulAnnekov/tuyaha#how-to-check-whether-the-api-this-library-using-can-control-your-device replies. Maybe it lists some useful information that can help to add some support for 2nd entity.