Xenomes / Domoticz-TUYA-Plugin

Implements the special Tuya Home Assistant API.
22 stars 8 forks source link

Offline persists state #12

Closed sciurius closed 3 years ago

sciurius commented 3 years ago

When a device, e.g. a light bulb, is disconnected (power switch, removed from socket, etc.) the current state persists. In other words, if the bulb was on it is reported on as long as it is diconnected.

I think for many devices it would be better to assume off when not connected.

Xenomes commented 3 years ago

Added in the new version! if device go off-line then the device turns off.