@abhi147 wrote:
Hello
I am new to home-assistant but have managed to get most of my setup working using mainly ikea lights/ sensors and conbee2 stick
I am unable to correctly use automation for turning lights off after no motion detected for 10 minutes
It works fine to turn on when motion detected and turns on the light, but it does not turn off when no motion detected for 10 minutes.
However if i dont put any minutes in the automation it turns off after 2-3 minutes the default ikea timerMy automation file is as follows
#Bathroom - alias: Bathroom motion sensor activated trigger: platform: state entity_id: binary_sensor.tradfri_motion_sensor to: 'on' action: service: light.turn_on entity_id: light.color_bathroom - alias: Bathroom motion sensor deactivated trigger: platform: state entity_id: binary_sensor.tradfri_motion_sensor to: 'off' for: minutes: 10 action: service: light.turn_off entity_id: light.color_bathroom
any help would be appreciated
Also is there a way to improve/speed up how fast the lights turn on when motion is detected? Sensitivity may be? If yes then how?
Posts: 1
Participants: 1