@dantist wrote:
I’ve set up a rule to turn the lights on and off based on three motion sensors. It works fine for turning it on:
trigger: platform: state entity_id: binary_sensor.homematic_motion_sensor_motion, binary_sensor.homematic_switch_1_motion, binary_sensor.homematic_switch_2_motion to: 'on'
but not correctly for turning it off:
trigger: platform: state entity_id: binary_sensor.homematic_motion_sensor_motion, binary_sensor.homematic_switch_1_motion, binary_sensor.homematic_switch_2_motion to: 'off' for: minutes: 2
Even if I move within the range of one sensor, the lights turn off after two minutes. I guess I created a rule where ALL sensors have to be triggered to prevent the light from turning off. How do I change this so it doesn’t matter which sensors are triggered within the given time frame?
Posts: 9
Participants: 3