I have an automation where i do a simple toggle when motion is detected. But for some reason the light group (grouped through ZHA) does not set the correct brightness or color temp when automation triggered.
Tried multiple things like changing to a HA light group or individual lights(worked but not steady, sometimes 1 light didn’t follow up), created scripts with delays and other stuff.
This is my automation:
id: 'overloop_licht_aan_overdag'
triggers:
- trigger: state
entity_id:
- binary_sensor.overloop_motion_sensor
to: "on"
condition:
- condition: state
entity_id: input_boolean.nachtmodus
state: "off"
- condition: state
entity_id: input_boolean.overloop_licht_handmatig
state: "off"
actions:
- service: light.turn_on
target:
entity_id: light.overloop_plafondlamp
data:
brightness: 190
color_temp_kelvin: 2583