Skip to content

Bug - Philips 324131092621 single press action triggers when doing a long press #934

@queimadus

Description

@queimadus

Blueprint name

Philips 324131092621

Home Assistant Core Version

2025.10.2

Home Assistant Installation Type

Home Assistant Operating System

Description

When performing a long press on any button, both the single press action and the long press action will trigger. Using zigbee2mqtt.

Automation YAML config

alias: Controller - Philips 324131092621 Hue Dimmer switch - Bathroom
description: ""
use_blueprint:
  path: EPMatt/philips_324131092621.yaml
  input:
    integration: Zigbee2MQTT
    controller_device: 90ffac2a69376c5c6dca5b7a200c66c2
    helper_last_controller_event: input_text.helper_philips_remote
    action_button_up_short:
      - target:
          device_id: 91560209c6b009b829b95c652013b8e3
        data: {}
        action: media_player.volume_up
    action_button_up_long:
      - target:
          device_id: 91560209c6b009b829b95c652013b8e3
        data: {}
        action: media_player.media_next_track

To Reproduce

  1. Perform a long press on the up button
  2. See that both the single press and long press actions were triggered

Expected behavior

Only the long press action is triggered

Actual Behaviour

Both the single press and long press action are triggered

Additional Details

  • I'd like to help developing a fix for this issue.

Screenshots

No response

Additional context

I believe this is because we are listening to up_press events instead of up_press_release. Changing the blueprint to listen to up_press_release instead of up_press (and doing the same for all other actions: down, on, off) in the actions_mapping seems to make it work correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blueprintAn issue related to a blueprintbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions