Reaction of multiple lights

Hi guys,

in my kitchen I have 12 hue lights in one group “Küche”.
I have a script which says:

alias: Küche kalt
sequence:
  - service: light.turn_on
    target:
      entity_id: 
      - light.signify_netherlands_b_v_ltg002_04f26e09_level_light_color_on_off
      - light.signify_netherlands_b_v_ltg002_380d7509_level_light_color_on_off
      - light.signify_netherlands_b_v_ltg002_0f0f7509_level_light_color_on_off
      - light.signify_netherlands_b_v_ltg002_7bf56e09_level_light_color_on_off
      - light.signify_netherlands_b_v_ltg002_d50d7509_level_light_color_on_off
      - light.signify_netherlands_b_v_ltg002_03f26e09_level_light_color_on_off
      - light.signify_netherlands_b_v_ltg002_a0f26e09_level_light_color_on_off
      - light.signify_netherlands_b_v_ltg002_330d7509_level_light_color_on_off
      - light.signify_netherlands_b_v_ltg002_level_light_color_on_off
      - light.signify_netherlands_b_v_ltg002_1b107509_level_light_color_on_off
      - light.signify_netherlands_b_v_ltg002_2ef76e09_level_light_color_on_off
      - light.signify_netherlands_b_v_ltg002_a7f16e09_level_light_color_on_off
    data:
      brightness_pct: 100
      color_temp: 153
mode: restart

I tried the same scriupt and used the group “light.küche” instead of each entity seperately to reduce the color temperature.

Unfortunately, just 50% off all lights react.
I have to run the script multiple times until all lights a cold white.
Is there a possibility to fix that issue?

Regards
Arnold

Not sure if that makes a difference or not, but have you tried putting all the lights in a (light) group?

I tried first to have an action on a group (light.kitchen) - did not work.
Then I tried (see example above) to have an action with all lights separately. - did not work

I don’t know what integration you are using, but try putting them in a Zigbee group.

I am using ZHA with conbee 2.

All light are grouped in lights.yaml.

  - platform: group
    name: "Küche"
    entities:
    - light.signify_netherlands_b_v_ltg002_04f26e09_level_light_color_on_off
    - light.signify_netherlands_b_v_ltg002_380d7509_level_light_color_on_off
    - light.signify_netherlands_b_v_ltg002_0f0f7509_level_light_color_on_off
    - light.signify_netherlands_b_v_ltg002_7bf56e09_level_light_color_on_off
    - light.signify_netherlands_b_v_ltg002_d50d7509_level_light_color_on_off
    - light.signify_netherlands_b_v_ltg002_03f26e09_level_light_color_on_off
    - light.signify_netherlands_b_v_ltg002_a0f26e09_level_light_color_on_off
    - light.signify_netherlands_b_v_ltg002_330d7509_level_light_color_on_off
    - light.signify_netherlands_b_v_ltg002_level_light_color_on_off
    - light.signify_netherlands_b_v_ltg002_1b107509_level_light_color_on_off
    - light.signify_netherlands_b_v_ltg002_2ef76e09_level_light_color_on_off
    - light.signify_netherlands_b_v_ltg002_a7f16e09_level_light_color_on_off

Is there a better way to group them?

Use native ZHA groups. If you use HA groups or HA light groups, each Zigbee command is sent to each bulb separately, possible overwhelming the Zigbee network. If you use ZHA groups, only one Zigbee command is sent to all bulbs at once. Much less traffic and better response.

Native ZHA groups, thats the solution! Never heard about that.
Thanks @francisp , problem solved :wink: