Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aqara button WXKG11LM Action no longer exposed #25450

Closed
patfelst opened this issue Jan 4, 2025 · 5 comments
Closed

Aqara button WXKG11LM Action no longer exposed #25450

patfelst opened this issue Jan 4, 2025 · 5 comments
Labels
problem Something isn't working

Comments

@patfelst
Copy link

patfelst commented Jan 4, 2025

What happened?

After update to v2.0.0 the Aqara button WXKG11LM no longer exposes the Action field to MQTT. The documentation says that it is available.

Not sure if this is the same issue just created #25448

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

Looking at the device in home assistant add-on Mosquitto broker, I can not see Action any more and my button automations are not working.

Zigbee2MQTT version

2.0.0

Adapter firmware version

20220219

Adapter

CC2652P2 Based Zigbee to PoE

Setup

Home Assistant add-on

Debug log

NA

@patfelst patfelst added the problem Something isn't working label Jan 4, 2025
@patfelst patfelst changed the title Aqara button WXKG11LM action no longer exposed Aqara button WXKG11LM Action no longer exposed Jan 4, 2025
@patfelst
Copy link
Author

patfelst commented Jan 4, 2025

image

@patfelst
Copy link
Author

patfelst commented Jan 4, 2025

OK I just found #24494

I'll have to look into it to see what I need to do to get my Aqara buttons working again.

@K4RLMORG4N
Copy link

This is the same for most of my switches, I now have a whole bunch of Hue switches that do not have any actions

@patfelst
Copy link
Author

patfelst commented Jan 4, 2025

I use a blueprint for the Aqara buttons, which is broken now. But it's actually pretty easy to create the automations using the UI editor.

  1. Create new automation
  2. Trigger on device
  3. Select your MQTT button from drop down list
  4. Another drop down called trigger appears Select single, double or hold etc
  5. Add a trigger ID
  6. Set your action as normal.

Here's my example:

alias: Button - workshop
description: ""
triggers:
  - domain: mqtt
    device_id: 656b55c99717ed704e669e0d521be10f
    type: action
    subtype: single
    trigger: device
    id: trigger single
  - domain: mqtt
    device_id: 656b55c99717ed704e669e0d521be10f
    type: action
    subtype: double
    trigger: device
    id: trigger double
  - domain: mqtt
    device_id: 656b55c99717ed704e669e0d521be10f
    type: action
    subtype: hold
    trigger: device
    id: trigger hold
conditions: []
actions:
  - choose:
      - conditions:
          - condition: trigger
            id:
              - trigger single
        sequence:
          - action: switch.toggle
            metadata: {}
            data: {}
            target:
              entity_id: switch.workshop_power_strip
      - conditions:
          - condition: trigger
            id:
              - trigger double
        sequence:
          - action: light.toggle
            metadata: {}
            data: {}
            target:
              entity_id: light.led_strip_workshop_shelf_dimmer
      - conditions:
          - condition: trigger
            id:
              - trigger hold
        sequence:
          - action: light.turn_off
            metadata: {}
            data: {}
            target:
              area_id: electronics_lab
mode: single

Graphically in the UI editor
image

image

I'll close this now.

@patfelst patfelst closed this as completed Jan 4, 2025
@icanoncn
Copy link

Same issue, I found this
zigbee2mqtt/hassio-zigbee2mqtt#707 (comment)
It works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants