Closed tbaumann closed 2 years ago
Actually, it might work. I think I had other issues why my device didn't show up in HA.
So perhaps this is just a documentation suggestion. This seems just so much more straight forward to implement.
Should work, let's me know if you found this broken.
Main advantage to have automation instead service call it's you can disable automation if you want to stop ESP to send BLE packages.
Thanks. Glad to see this is okay. I will debug my issue a little more. But I don't think it was related.
I'm always a fan of simple solutions. But I agree, the event has the benefit of leaving an obvious debug trace in HA and have possible conditionals attached.
Is there any reason why this shouldn't work?
It seems a bit unnecessary to rely on a homeassistant automation to listen to the event first