Hello all,
I’m a complete newbie on Home Assistant, and YAML too actually
I’m running HA on a Raspberry Pi 4B 8gb.
I imported my Somfy Tahoma with Overkiz, including shutters, motion sensors and switches that control a LED-strip.
I made an automation to turn on the LED-strip when the motion sensors detects motion.
When I manually execute the automation on my laptop the LED goes on immediately.
When I run the automation, and the sensor detects motion, it triggers the LED, but with a lag of +10 seconds.
Does anybody know how I can fix this?
This is how i put in the automation:
(I’m dutch-speaking, so the names are in dutch )
Thanks in advance!
alias: LED
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.sensor_gang_beneden_occupancy
for:
hours: 0
minutes: 0
seconds: 0
to: "on"
action:
- type: turn_on
device_id: 2306dd8d041b678a73f52fb30efcd368
entity_id: light.led_gang_beneden
domain: light
- delay:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
- type: turn_off
device_id: 2306dd8d041b678a73f52fb30efcd368
entity_id: light.led_gang_beneden
domain: light
mode: single