YeelightAPI
YeelightAPI copied to clipboard
[BUG]Knowing the IP/Port of a YeeLight on my LAN, when not ON (no power) it is never set to async Watch()
Describe the bug When a YeeLight is not physically powered on, the Connect() function will not call Watch(), which means no background task will be running that will connect the TCP client when the power is physically turned on.
To Reproduce Steps to reproduce the behavior:
- Creating device = new Device(known static IP and Port)
- Call device.Connect()
- Power on the Light
- Call to 'XXX' method
Expected behavior When knowing the IP and Port of a Light on the network, Connect() should also call Watch() so that it is being automatically connected when it is physically powered on.