Alternating dimming

Hello everyone,
I need your help.
I’m trying to switch an LED strip depending on its brightness.
This means when I turn on the light it only goes to 3%, when I press turn on again it goes to 100%. (so far so good).
Now when I press switch on again it should go back to 3%.

I currently have two automations for this:

alias: Ikea k3 (1) 3%
description: ""
trigger:
  - device_id: a8f97f27b635f268f83f326aedb7bc1a
    domain: zha
    platform: device
    type: remote_button_short_press
    subtype: turn_on
condition:
  - condition: state
    entity_id: light.shelly_rgbw2_1
    state: "off"
action:
  - type: turn_on
    device_id: f2c072dc59fe7a28654e8eb440847798
    entity_id: f2fd07fe46f0da976602223307f831e9
    domain: light
    brightness_pct: 3
mode: single

and

alias: Ikea k3 (1) 100%
description: ""
trigger:
  - device_id: a8f97f27b635f268f83f326aedb7bc1a
    domain: zha
    platform: device
    type: remote_button_short_press
    subtype: turn_on
condition:
  - condition: state
    entity_id: light.shelly_rgbw2_1
    state: "on"
action:
  - type: turn_on
    device_id: f2c072dc59fe7a28654e8eb440847798
    entity_id: f2fd07fe46f0da976602223307f831e9
    domain: light
    brightness_pct: 100
mode: single

I don’t get the 3% condition formulated.
I’ve already tried a few things but they can’t be saved.

Help

Unless someone has a better solution, you can try using the “number” condition to check the brightness of the LED strip.