Hello!
I have had several automations for Samsung smartthings and Aqara buttons, that were working fine before the last two updates, but are no longer working and exhibiting weird behavior. I was following this method, to send an MQTT packet, which I used in Node Red:
https://community.home-assistant.io/t/my-howto-smartthings-zigbee-button/114482
Since the last two Hassio updates, the automations no longer publish an MQTT packet upon clicking the button, but it seems to make all my other MQTT devices send a packet and briefly go offline when I click the button.
Here’s my code:
automation:
- id: samsungdeskbutton
alias: samsung desk button
trigger:
- event_data:
command: button_single
device_ieee: 28:6d:97:00:01:05:37:5b
event_type: zha_event
platform: event
action:
service: mqtt.publish
data_template:
payload: >
{{trigger.event.data['command']}}
topic: >
home/buttons/desk
I might be able to get the buttons working some other way without MQTT, but I’m baffled as to why this isn’t working now and I’d like to figure out why.
Thanks!