Motion Dimmers - How to fix delay while dimming

I have a motion dimmers in my bathrooms. The goal is to have the lights come on at 30% during the evening hours so I’m not blinded by light when I wake up to pee. I’ve been able to accomplish this by setting the light to come on at 30% through the Kasa app and have HA set the dim % once it’s turned on. If it’s daytime, it increases to 100%. However, there is a 1s delay between when the light comes on at 30% and when HA realizes it needs to be set at 100%. I think this is because they are WiFi and it takes that long before HA realizes the light is on. Does anyone have any ideas how I can accomplish this through HA so there is no delay?

Here is my current config:

alias: Bathroom - Turn on Vanity light 100% during the day
description: ""
triggers:
  - type: turned_on
    device_id: 658d7c53f00323ac9052ec182813e8e4
    entity_id: 97a33323d28c57461d8ab935cd7a708b
    domain: light
    trigger: device
conditions:
  - condition: time
    after: "06:00:00"
    before: "21:00:00"
    weekday:
      - fri
      - thu
      - wed
      - tue
      - mon
      - sun
      - sat
actions:
  - action: light.turn_on
    metadata: {}
    data:
      brightness_pct: 100
      transition: 2
    target:
      device_id: 658d7c53f00323ac9052ec182813e8e4
mode: single

Sounds as if this is because there are two different processes involved. Can you control the lights directly through HA?

actions:
  - if:
      - condition: state
        entity_id: schedule.dim
        state: "on"
    then:
      - action: light.turn_on
        metadata: {}
        data:
          brightness_pct: 30
        target:
          entity_id: light.bathroom
    else:
      - action: light.turn_on
        metadata: {}
        data:
          brightness_pct: 100
        target:
          entity_id: light.bathroom

Doesn’t seem to fix the problem. I implemented the following and there is still a delay.

alias: Bathroom - Turn on Vanity light 100% during the day V2
description: ""
triggers:
  - type: turned_on
    device_id: 658d7c53f00323ac9052ec182813e8e4
    entity_id: 97a33323d28c57461d8ab935cd7a708b
    domain: light
    trigger: device
conditions: []
actions:
  - if:
      - condition: device
        type: is_on
        device_id: 658d7c53f00323ac9052ec182813e8e4
        entity_id: 97a33323d28c57461d8ab935cd7a708b
        domain: light
      - condition: time
        after: "21:00:00"
        before: "06:00:00"
        weekday:
          - sun
          - mon
          - tue
          - wed
          - thu
          - fri
          - sat
    then:
      - action: light.turn_on
        metadata: {}
        data:
          brightness_pct: 30
        target:
          device_id: 658d7c53f00323ac9052ec182813e8e4
    else:
      - action: light.turn_on
        metadata: {}
        data:
          brightness_pct: 100
        target:
          device_id: 658d7c53f00323ac9052ec182813e8e4
mode: single