Adaptive Lighting
Good news!
Adaptive Lighting does not interfere like Circadian Lighting did.
Bad news!
A work-around is still required for me to get my ZHA light bulb groups. But, the solution is a bit simplier!
Simplified automation
This solution still requires the creation of a group named the same as your light group. This group needs to contain every bulb in that fixture. Example: for light.dining_room I created group.dining_room_fixture with all 9 bulbs.
alias: "Light Group Turn Off - Force To Stay Off"
id: light_group_turn_off
initial_state: true
mode: single
trigger:
- platform: state
entity_id:
- light.dining_room
- light.play_room_floor_lamp
from: "on"
to: "off"
variables:
light: '{{ trigger.entity_id }}'
group: '{{ light | replace("light.","group.") + "_fixture" }}'
bulbs: '{{ expand(group) | map(attribute="entity_id") | list }}'
action:
- alias: Turn the light group off repeatedly until it stays off.
repeat:
sequence:
- delay:
seconds: 5
# Turn off the individual bulbs one at a time.
- repeat:
count: "{{ bulbs|count }}"
sequence:
- service: light.turn_off
data:
entity_id: '{{ bulbs[repeat.index-1] }}'
until:
- condition: template
value_template: "{{ is_state(light, 'off') }}"