dimmer.off()
} else {
-
- def shouldChangeColors = (colorize && colorize != "false")
+
+ def shouldChangeColors = (colorize != "false")
+ if (colorize == "false")
+ colorize = "true"
+ else
+ colorize = "false"
if (shouldChangeColors/*&& hasSetColorCommand(dimmer)*/) {
def hue = getHue(dimmer, nextLevel)