Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 96121

Ikea automation problem

$
0
0

@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 timer

My 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

Read full topic


Viewing all articles
Browse latest Browse all 96121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>