Thanks very much for this blueprint. I cant figure out, how to get the SmartThings Button to switch the state of a ligth. I have tried setting the automation up via the UI and the blueprint, but i get this error message.
“Error: UndefinedError: ‘dict object’ has no attribute ‘to_state’”
I am very new to the HA-scene and i cant seem to find any information, which can help solve my problem. Can anybody point me in the rigth direction? I will be very grateful.
This blueprint was working flawlessly. But then since I switched from Conbee2 to ZBDongle-P, it stops working.
I also changed to a new battery as well, but I don’t think it’s relevant here.
Somehow the automation never got triggered.
Migrated to z2m and used this blueprint and had no issues the first day. Then updated HA and not sure why, but my buttons aren’t working anymore. I see the button update the logs but the blueprint doesn’t trigger.
Edit, not sure why this template stopped working, but recreated it by hand using the right actions and setting trigger IDs
All action sensors are now disabled by default (sensor.*_action entities). It’s recommended to use the MQTT device trigger instead. In case you really need the action sensors, add the following to your configuration.yaml.
However I plan to explore ways to migrate automation to use MQTT device trigger, as is now recommended, or event entity, as THAT will be the 2.0.0 recommendation, as described here:
Note: event entity is experimental and may break in the future.
This method work by responding to the state change of an event entity. The specific event can be targetted via the event_type attribute. This will become the recommended method with 2.0.0
I was able to successfully create an automation with event entity. I leveraged outline from the existing one. It seems to respond more snappily to button presses as well.
Found that I needed to use experimental_event_entities: true in the z2m conf in the 2.0.0 release version so that the event entity would appear in HA.