If one turns on the L530 bulb by using setBrightness(), setColor() or setColorTemp() calls, the device info still says the lamp is turned off. This means that the call to turnOff() doesn't work without turnOn() has been called.
This PR fixes this issue by adding the device status to the payload of these three calls.
If one turns on the L530 bulb by using
setBrightness()
,setColor()
orsetColorTemp()
calls, the device info still says the lamp is turned off. This means that the call toturnOff()
doesn't work withoutturnOn()
has been called.This PR fixes this issue by adding the device status to the payload of these three calls.