[Solved] Detect trigger Manual vs HA UI

I’m trying to get this Automation to detect what triggered the light on.
I have read through these threads:

and some of the documentation but I’m missing something.

This is what I want to achieve:

What I have currently

alias: Wiz Light Trigger
description: Check what triggered the light on
trigger:
  - platform: state
    entity_id:
      - light.wiz_rgbw_tunable_de5c9e
    to: "on"
condition:
  - condition: template
    value_template: "{{ trigger.to_state.context.user_id == none }}"
  - condition: template
    value_template: "{{ trigger.to_state.context.parent_id == none }}"
  - condition: template
    value_template: "{{ trigger.to_state.context.id != none }}"
action:
  - service: scene.turn_on
    target:
      entity_id: scene.rgb_1_lux_2
    metadata: {}
mode: restart

Edit:
So this works but it looks like Wiz bulbs are slow to report state changes to HA.

So when you say the problem was the entities being too slow in reporting the status change, how did you end up solving this? Afaik, a delay won’t work in a trigger condition.