This dependency is solely based on the way the Addons work.
Deconz seems to be using specific events to show actions on the devices, while Z2M just relies on MQTT messages.
Since the above is the trigger to the whole automation it makes sense.
This dependency is solely based on the way the Addons work.
Deconz seems to be using specific events to show actions on the devices, while Z2M just relies on MQTT messages.
Since the above is the trigger to the whole automation it makes sense.
Happy new year everyone!!
I’ve updated this to reflect changes in home assistant since 2022
The blueprint changes drastically as you only have to chose a Device instead of an entity
Layout has been made easier to administrate, at least IMHO
Take care
You may want to add a my link to help the directory location challenged individuals…
Create a link – My Home Assistant
By any chance have a six button blueprint too?
Hey @mhoogenbosch ,
I didn’t make one as I don’t have a device to test it with.
If you can test it for me, I’m happy to make one
Give me the 15-20 min and I put it online
Chris
Trying to import the 4 button version, but I’m getting the following error:
mapping values are not allowed here in "<unicode string>", line 13, column 54: ... or" media="(prefers-color-scheme: light)" content="#03a9f4"> ^
I’ll check this tonight, dad duties first !!
Those are the most important!
@DSLeX typo fixed for the 4 bouttons too.
Did you have any issue importing this like @mhoogenbosch ?
I guess so, but am unable to test because of the import error. Tried it again, but getting the same error message.
You really want me to work
Which version of HA are you on?
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.
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?
Import succeeded.
—-
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
I found the problem guys … The problem being me
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