This does not trigger.
I want the same action to take place when a button is pressed on either of two Shelly devices. This seems like to most elegate way to do it, any advice please?
Thanks for the link, and this is all true.
However, there are significant and strange issues in this particular case with using that method.
I tried using the event entity and it worked fine, until it didn’t…
I’m using this automation to react when a button on a Shelly i4 G3 is pressed. It seems this device (at least at FW2.0.0) has a tricky issue when rebooted or power cycled or comes back from unavailable. It throws a false press on the button (input 0 in my case). I tested this many, many times using the event entity. These false presses are triggered when the device cycles and was opening my garage door at random times, a big, frustrating security issue! When rebooting etc it does not fire a shelly.click event (visible from Dev Tools, Events). This is very strange as I thought these occurrences would be related. I have gone back to using the original code (as below) and no more false triggers. Go figure!!