Aeotec Wallswipe Red HSL color not converting to Hex correctly

https://raw.githubusercontent.com/hrerikl/Hubitat/master/Drivers/ZW158-WallSwipe.groovy

I am using this driver to control the color strip around my aeotec wallswipe. Everything is working with the exception of the color picking. When the hue is set to 0, and sat/lev are set to 100, the color doesn’t go to red as I would expect, it stays at the color it last was. If I change hue to 100 it works as expected. Coding is far from my strong point and I have not been able to get to the bottom of this yet. All of the default logic for changing to red or using Alexa to change to red are failing because of this. All other colors work fine from what I can tell.

Appreciate any help.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.