I have the same UMDC code for motions sensors in the hallway and in my den:
blradar.PluginFunction("ControlDevice", new Object(){"Den Fireplace", "dim", 70})
It seems that if I walk from the hallway to the den, the fireplace lights go on to 70% level when I trigger the hallway motion sensor, then dims again (from the already dimmed level) when I reach the den. I'm wondering how to change my code to fix this.
blradar.PluginFunction("ControlDevice", new Object(){"Den Fireplace", "dim", 70})
It seems that if I walk from the hallway to the den, the fireplace lights go on to 70% level when I trigger the hallway motion sensor, then dims again (from the already dimmed level) when I reach the den. I'm wondering how to change my code to fix this.