Adaptive lighting and automations problem

Hi!

Im using adaptive lighting and it works like a charm when not doing anything with it. But I want to make an automation that dims down the lights to 10% when there is no motion in a room, and when motion is detected I want the lights to go back to whatever value adaptive lighting wants them to be. I ticked the takeover box in adaptive lighting and it seems to work when manually activating light.turn_on but not when an automatin does it. The ligthts dim down but they go back up again after a minute or so. So I tried this automation but it still won’t work. Any ideas?

alias: Test
description: ""
trigger:
  - type: no_motion
    platform: device
    device_id: ae677aca0c56c9f1738ef8451f0541e4
    entity_id: binary_sensor.kok_motionsensor_iaszone
    domain: binary_sensor
condition: []
action:
  - service: adaptive_lighting.set_manual_control
    data:
      entity_id: switch.adaptive_lighting_kok
      manual_control: true
  - delay:
      hours: 0
      minutes: 0
      seconds: 1
      milliseconds: 0
  - service: light.turn_on
    data:
      transition: 5
      brightness_pct: 10
    target:
      device_id:
        - 5f12ad0cb7062f158c1e5fb4033d2651
        - da34b721ab514db84807b95ae0951a23
mode: single

I am trying to solve the same problem. Were you able to solve it ?