Philips HUE Taster doppelt belegen?

Hallo

ich habe ein Problem mir eine Automation zu erstellen mit Philips Taster angebunden mit z2mqtt

wenn ich eine Automatisierung erstelle und die Tasten doppelt belege kommt immer erst der on_press bzw. off_press und anschließend on_hold bzw. off_hold, auch wenn man lange drückt.

Meine Lame geht dann direkt aus wenn ich runter dimmen möchte.

Für Hilfe wäre ich dankbar, stehe total auf dem Schlauch wie das umsetzen soll

alias: HUE Dimmer
description: ""
trigger:
  - platform: state
    entity_id:
      - sensor.dimmer_hue_action
    to: on_press
    id: on_press
  - platform: state
    entity_id:
      - sensor.dimmer_hue_action
    to: off_press
    id: off_press
  - platform: state
    entity_id:
      - sensor.dimmer_hue_action
    to: on_hold
    id: on_hold
  - platform: state
    entity_id:
      - sensor.dimmer_hue_action
    to: off_hold
    id: off_hold
condition: []
action:
  - if:
      - condition: trigger
        id:
          - on_press
    then:
      - service: light.turn_on
        metadata: {}
        data: {}
        target:
          entity_id: light.test_hue
  - if:
      - condition: trigger
        id:
          - off_press
    then:
      - service: light.turn_off
        metadata: {}
        data: {}
        target:
          entity_id: light.test_hue
  - if:
      - condition: trigger
        id:
          - on_hold
    then:
      - service: light.turn_on
        metadata: {}
        data:
          brightness_step_pct: 10
        target:
          entity_id: light.test_hue
  - if:
      - condition: trigger
        id:
          - off_hold
    then:
      - service: light.turn_on
        metadata: {}
        data:
          brightness_step_pct: -10
        target:
          entity_id: light.test_hue
mode: single

Schau dir mal die Blueprint an, die arbeitet mit Helfern, genau wegen dem Problem

Oder als einfache Automatisierung.

Gruß
Osorkon

Danke für die Tips
Werde das Blueprint mal probieren und anpassen auf mein Wallmodul