Automation help: Lights will change brightness but not turn on

Hi HA Friends,

Bizarre one I’ve been trying to figure out and I could use some help please. I have an automation that triggers this action:

action: light.turn_on
metadata: {}
target:
  entity_id:
    - light.rear_corridor_north_2
    - light.rear_corridor_south_2
    - light.main_area_downlight_north_2
    - light.main_area_downlight_south_2
    - light.front_corridor_3
data:
  color_temp_kelvin: 3178
  brightness_pct: 50

I’d expect this to turn on all five lights (three Hue white ambiance lights, and two Hue colour downlights). If the lights are on - let’s say at 1% brightness - the automation will set them to the correct temp + brightness every time so I know I’m looking at the right entities. I’ve tried splitting out the lights to seperate actions but the behaviour is the same.

action: light.turn_on
metadata: {}
target:
  entity_id:
    - light.main_area_downlight_north_2
    - light.main_area_downlight_south_2
data:
  brightness_pct: 50
  rgb_color:
    - 255
    - 171
    - 1

It fires… but nothing happens on those two lights - the other three are fine.
Not working lights:

event_type: call_service
data:
  domain: light
  service: turn_on
  service_data:
    brightness_pct: 50
    rgb_color:
      - 255
      - 171
      - 1
    entity_id:
      - light.main_area_downlight_north_2
      - light.main_area_downlight_south_2
origin: LOCAL
time_fired: "2026-04-19T14:39:05.034886+00:00"
context:
  id: 01KPK2WJPSBE6Q3Q5CTGZWDAEJ
  parent_id: 01KPK2WJPSSEXKKMD616NJVRGY
  user_id: null

Working lights:

event_type: call_service
data:
  domain: light
  service: turn_on
  service_data:
    color_temp_kelvin: 3194
    brightness_pct: 50
    entity_id:
      - light.front_corridor_3
origin: LOCAL
time_fired: "2026-04-19T14:39:04.924285+00:00"
context:
  id: 01KPK2WJPSBE6Q3Q5CTGZWDAEJ
  parent_id: 01KPK2WJPSSEXKKMD616NJVRGY
  user_id: null
event_type: call_service
data:
  domain: light
  service: turn_on
  service_data:
    color_temp_kelvin: 3194
    brightness_pct: 50
    entity_id:
      - light.rear_corridor_north_2
      - light.rear_corridor_south_2
origin: LOCAL
time_fired: "2026-04-19T14:39:05.242750+00:00"
context:
  id: 01KPK2WJPSBE6Q3Q5CTGZWDAEJ
  parent_id: 01KPK2WJPSSEXKKMD616NJVRGY
  user_id: null

Any ideas? WTF am I doing wrong! Thanks in advance…