Hello,
As the title says, I’ve been trying for 4 days to get my automation to turn on a light.group with a motion detector. the group consists of 5 identical bulbs
But either only one lamp goes on, or none at all, or none of the lamps go out
but if i switch the group manually using a switch, it works without a problem, i just switched the light on 20x and there wasn’t even a single problem.
I created the light group in deconz, previously I had this in HA but that didn’t work at all, and I was advised here in the forum to create the group in deconz because deconz has the status of the individual lamps.
my automation
alias: Gartenbeleuchtung - Bewegungsmelder
description: ''
trigger:
- type: motion
platform: device
device_id: ea3fb3da59f4437dfd424a7b245c6291
entity_id: binary_sensor.hue_bewegungsmelder_terrasse_motion
domain: binary_sensor
condition:
- condition: or
conditions:
- condition: sun
after: sunset
- condition: sun
before: sunrise
action:
- service: light.turn_on
data:
brightness_pct: 20
target:
entity_id: light.garten
- wait_for_trigger:
- type: no_motion
platform: device
device_id: ea3fb3da59f4437dfd424a7b245c6291
entity_id: binary_sensor.hue_bewegungsmelder_terrasse_motion
domain: binary_sensor
- service: light.turn_off
data: {}
target:
entity_id: light.garten
mode: single
I really don’t know where the problem lies and why he doesn’t switch the light.group correctly.