Also worked for me with my Aeotec button through my Smartthings V2 hub. Thanks for the detailed instructions.
Hey, going a bit crazy trying to get my button to work.
I have gone through the steps, but when adding the trigger for automation, getting this error.
“Message malformed: expected str for dictionary value @ data[‘triggers’][0][‘platform’]”
This is my “When” in YAML
trigger:
- platform: event
event_type: smartthings.button
event_data:
device_id: (****** **** **** Removed for post)
component_id: main
value: pushed
Please help