Greetings,
From my admittedly minimal testing, I think I've found a problem with the "Turn on and set color" action (new in 2.2.1) in Simple Automation Rules after a comment from an Inovelli forum member prompted me to try to replicate it. With an Inovelli LZW42 (color bulb) and this setup:
I can consistently replicate this error:
Error text for screen readers or people using the search function:
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '99' with class 'java.lang.String' to class 'float' (setColor)
This is with the built-in LZW42 driver, though the same appears when using Inovelli's custom driver and bcopeland's custom driver, but I think the device and driver are more or less irrelevant here: it looks like SAR might be sending the level as a String instead of a numeric type, based on both this error and the fact that this input gets saved as type "text" according to the app status. (Obviously, staff would have a better idea of this than me, so this is just what I'm trying to piece together.)
Tagging @bravenel since he will probably know if my guess above is correct and @bcopeland in case it isn't.