[Z2M] Aqara Opple 4 boutons blueprint (WXCJKG12LM) [Updated 2025]

You really want me to work :rofl:

Which version of HA are you on?

1 Like

Latest and greatest (2025.01.00)

For info, I’m getting the same import error (for the 4-button version). I’m also on HA 2025.1.0 and Z2M 2.0.0.

@mhoogenbosch & @csmale,

This is so strange, I can’t reproduce on my own instance of HA … but if I pop a brand new container of HA I have the same issue.

I uploaded the same file, exactly, to github… and it works on the container and home too.

Can you please try from this button see if the import works?

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Import succeeded. :muscle::muscle::muscle:

—-

Indeed , same issue as with the six button version.

It doesn’t seem to be a problem with the blueprint in itself … rather an issue with the way the import works from this forum.

Anyway ! Moving on to allowing multiple devices

1 Like

I found the problem guys … The problem being me :face_exhaling:

My button “Import blueprint to” had an issue and it was causing problems for HA import tool.

It’s all fixed now.

The blueprint imported just fine for me, but when I try to save the automation, it gives the error: Message malformed: expected str for dictionary value @ data[‘device_id’].

I can edit in yaml and it works if I remove the dash in front of the device id under device_selection. However, each time I save I have to edit the yaml again. Any ideas?

Full YAML here:

description: ""
use_blueprint:
  path: bouyssic/z2m-aqara-opple-4-boutons-blueprint-wxcjkg12lm.yaml
  input:
    device_selection:
      - c12bdb3b0003aa39ff82b69d65dac3eb
alias: My Switch

Looking into that @Aaron_Bone . Maybe something to do with the latest addition of “multiple devices” support.

I’ll keep you updated

@Aaron_Bone

It was indeed the multiple device selector that was causing issues.

I’ve removed it for now until I understand why. You can re-import the blueprint and test again, it should work

For some reason I cannot save the automation, i’m getting:

image

Am I the only one?


my god… no i’m not the only one… so yes… i have the same issue. thanks

Hey @mhoogenbosch,

That happened with “multiple” devices enabled, which I did disable. Did you update your blueprint ?

Chris

Yes I saw the post above, but when reimporting it doesn’t remove the multiple devices. Maybe it’s something in my environment, so I’ll take another look at it.

It was, all is good now, thanks very much for your effort!

1 Like