@RBoy is this similar to your issue or am I doing something wrong? Not posting all the code, but I think you will get the jist. The “switch” event get’s called every time, but when I dim up or down the setLevel event never happens.
The switchLevel capability has the attribute “level” so that’s what you should be subscribing to. The command used to change the attribute is setLevel, but you subscribe to the attribute event, not the command.
Don’t prefix it with “switch.” because the switch attribute has the possible values of “on” and “off” so the only events you can subscribe to are “switch”, “switch.on” or “switch.off”.
@krlaframboise - That was it. I really appreciate it. I really need to stop working on a SmartApp and a completely unrelated device handler at the same time.