kpsuperplane / homebridge-wiz-lan

Control Wiz lights over LAN
Apache License 2.0
114 stars 37 forks source link

Add lastStatus setting so lights remember their setting when turned on #119

Closed AndrewSverdrup closed 1 year ago

AndrewSverdrup commented 1 year ago

Add a lastStatus setting so lights turn back on to whatever setting they had when turned off.

For some reason when the lights are turned off while on the "Night light" setting, the lights turn back on to whatever setting they were on before being switched to "Night light". This is the only known light setting that causes lastStatus to not work correctly. There is an error message in the Homebridge Logs that seems like it might be the cause. I opened this issue for it https://github.com/kpsuperplane/homebridge-wiz-lan/issues/120

Love this plugin! Was gifted some wiz lights and needed the homekit integration this enables for full automation. This has been working great!