Aqara Buttons All-In-One [Zigbee2MQTT]

same ) can u try pls

no luck… still nothing working :frowning:

can you please share what have you done? please

can u provide z2m logs here when you press a key?

I’m using version: 1.18.1-1
Aqara WXKG12LM.
MQTT explorer shows the messages being sent.

I have uninstalled the bleuprint… created a manual automation and it works… not sure why the blueprint does not work…

It didnt work. I found someone with a similar issue saying that there was no event trigger and got it resolved this way…but its too advanced for me to understand…would really appreciate if you could guide me through the process.

I’m also not too sure what decouple does for a switch…

Aqara QBKG25LM (3gang, no neutral) does not trigger event · Issue #5106 · Koenkk/zigbee2mqtt · GitHub

Hi there.

I have one QBKG22LM and one QBKG21LM. I also have one QBKG25LM (three-gang) but that one is known not to work with Z2M.

The issue manifests when I set homeassistant_legacy_triggers: false and try to use the action attribute like this:

- conditions:
        - condition: state
          entity_id: sensor.zigbee_button_smallroom_action
          state: double
          attribute: action

in Z2M config. The event generated then looks like this:

{
    "event_type": "state_changed",
    "data": {
        "entity_id": "sensor.zigbee_switch_kitchen_action",
        "old_state": {
            "entity_id": "sensor.zigbee_switch_kitchen_action",
            "state": "release_right",
            "attributes": {
                "action": "release_right",
                "button_right": "release",
                "linkquality": 99,
                "operation_mode": "decoupled",
                "operation_mode_left": "decoupled",
                "operation_mode_right": "decoupled",
                "state_left": "ON",
                "state_right": "ON",
                "friendly_name": "zigbee.switch.kitchen action",
                "icon": "mdi:gesture-double-tap"
            },
            "last_changed": "2021-04-29T14:09:00.562730+00:00",
            "last_updated": "2021-04-29T14:09:00.562730+00:00",
            "context": {
                "id": "cbec526666baa680ce0a95e81ed7b034",
                "parent_id": null,
                "user_id": null
            }
        },
        "new_state": {
            "entity_id": "sensor.zigbee_switch_kitchen_action",
            "state": "release_right",
            "attributes": {
                "action": "",
                "linkquality": 99,
                "operation_mode": "decoupled",
                "operation_mode_left": "decoupled",
                "operation_mode_right": "decoupled",
                "state_left": "ON",
                "state_right": "ON",
                "friendly_name": "zigbee.switch.kitchen action",
                "icon": "mdi:gesture-double-tap"
            },
            "last_changed": "2021-04-29T14:09:00.562730+00:00",
            "last_updated": "2021-04-29T14:09:00.572998+00:00",
            "context": {
                "id": "804978c97cc9e29542033e55b3d7da04",
                "parent_id": null,
                "user_id": null
            }
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-04-29T14:09:00.572998+00:00",
    "context": {
        "id": "804978c97cc9e29542033e55b3d7da04",
        "parent_id": null,
        "user_id": null
    }
}

Hello
when I try to import the schema to HA I get this message:
while scanning a simple key in “”, line 242, column 1: ^ could not find expected ‘:’ in “”, line 243, column 1: < p> <img src = "https: // community-a … ^

can you help and tell what went wrong? :slight_smile:
mirek

Same here. Looks like it might be including the image HTML code after the code block, and deciding that this HTML code is not valid blueprint code.
The blueprint itself is fine. If I copy / paste the code block to a blueprint file myself, then I can use it.

@zalus @mmakaay fixed.

1 Like

thanks for the help

Blueprint updated!

Changelist:

  1. Now it works with any value of homeassistant_legacy_entity_attributes of z2m.
  2. Changed the mode to parallel to get rid of ignoring some actions.

I’m having an issue where I single click the button and Home Assistant detects me pressing it 3 times.

What could be causing this?

1 Like

Hi, I’m having the same problem. Have you managed to fix it?

This is great! Thank you.

I am finding that my ‘tripple’ click isn’t working.

Tripple is spelled wrong (should be ‘triple’ with one p) on the blueprint front end… could the typo be extending into the payload too?

Ah yep, it is. In the blueprint I was able to correct the typo of ‘tripple’ and the command works OK now.