InovelliUSA / Hubitat

Location for Inovelli Hubitat Drivers and Apps
Apache License 2.0
104 stars 50 forks source link

Fix issue with switch property not turning on #57

Open zsaffir opened 2 years ago

zsaffir commented 2 years ago

With LZW45 off, using the setColor() method turns the actual device on but leaves the device's switch property set to off. This issue is not present when using the setLevel() method. This fix simply copies the set level functionality from the setLevel() method to the setColor() method which fixes the problem.

InovelliUSA commented 9 months ago

I believe this makes it so that the ramp rate (parameter 3) is not used when the device is turning on. Could we keep it as Basic set but send a Basic Get to update the status?