for now I am thinking its dead. can use the dimmer ones as straight on/off buttons.
I also get this error: Message malformed: expected a dictionary for dictionary value @ data[‘action’][0][‘variables’]
My Firmware: 0x23015631.
So what would be the right blueprint for this? Can you provide a link?
Try updating the FW on your buttons, maybe that’s the culprit.
I configured the ZHA integration to auto update the firmware of IKEA devices by adding this to configuration.yaml
:
zha:
zigpy_config:
ota:
ikea_provider: true
ledvance_provider: false
salus_provider: false
inovelli_provider: false
Keep in mind that you will need to restart HA in order to apply these changes.
Also, the update process is very slow and, if I remember correctly, only works with one device at a time (if you enable debug mode on the integration you should be able to see the percentage in the logs).
In new firmware versions the button can detect a long press or a double press and the event message is different, so this is probably why the template is broken.
The FW version which is currently running on my Tradfri Shortcut Buttons is 0x24040006
EDIT:
Just for completeness, I the template I always used for automations is this one.
Thanks for the update!