tuya / tuya-home-assistant

Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.
MIT License
875 stars 206 forks source link

old switches running 433RF connect to Tuya Bulb #112

Open ranrinc opened 3 years ago

ranrinc commented 3 years ago

Describe the bug I have several old switches running 433 RF which have no state. Now in order to make it work, I connect them into a smart bulb. I found out that upon changes the bulb becomes unavailable however the state remains online.

Expected behavior When the tuya bulb becomes unavailable the state should remain unavailable and not online.

Home Assistant Version

tsutsuku commented 3 years ago

@ranrinc More details?

ranrinc commented 3 years ago

my tuya bulb is turn on/off using an old broadlink wall switch which is controlled using 433RF. Now when I turn off tuya bulb status will become unavailable, however, the status will remain turn on for a while until its turns into unavailable. I compare this with a hue lightbulb which will turn into unavailable right away.