@rancor, that's interesting. I changed the device type from an on/off switch to a colored dimmable light so people can pass a color or a number from 1 to 100 to their command as a parameter, not just on or off.
I'm glad you showed me this problem. I didn't realize it caused a problem. I'll look into making the device type configurable. I might default it to on/off switch like it was before, and make the colored dimmable light device type an option.
Before I make the change though, isn't the default for lights that they're not associated with any room? And does that solve the problem?