Hi, I have an esphome device and a template button in there. I have an automation in Hassio triggered by the button pressed. It works as expected - except it starts every time when the esphome device becomes available or unavailable (so 2x during a reboot).
My idea is that the esp has only the button and the logic is in HA - the esp won’t see the devices (in this case a speaker to sound the bell). I could send an event from esphome (probably it won’t fire when it goes unavailable)