I have a motion sensor often in conflict with my scenes.
I managed to have something working by disabling the motion sensor when switching lights on and re-enabling the motion sensor when switching the lights off.
But it’s a lot of configuration, since I have those actions for every single button on the Hue Dimmer Switch, the Tap Dial, Wall Switches, etc. and also it doesn’t work when using toggle buttons in mobile apps.
That’s why I’m trying to achieve something simpler that could work regardless of which app or device is switching the lights on or off. For that, I created the following automations:
- When light group goes off, then enable the motion sensor
- When light group goes on, then disable the motion sensor
1 works well. The problem is 2 disables the motion sensor when the motion sensor is the one switching the lights on. Because of that, the lights stay on.
Any idea how to solve that? For instance, is there a way to have the below:
- Same as above
- When light group goes on AND the action wasn’t triggered by the sensor, then disable the motion sensor