Hi All,, I'm having some issues getting the SetLightingStatus to work correctly by passing in a variable. So if I set the string variable "LightingStatus" to BEDROOM4 for example and try to pass that in using SetLightingStatus(BEDROOM4, ON); Not surprisingly I get an error. I then tried to add the double quotes to the beginning and end of the string however this also resulted in an error. Perhaps a translation from the string label into the actual group number would be the better approach, but open to suggestions. Regs, Paul