I’ve been using “Tasker” to trigger REST api events in Home Assistant. The whole thing is very convoluted, and often fails. I often wonder why there is no way for Home Assistant to just intercept phone events (like incoming voice call, etc.) with info such as caller ID or text message sender as payloads. When it works, it’s fantastic having my system announce, “incoming call from so-and-so”, or “new text message from Jane”, etc. It would awesome if this were a seamless experience.
these features already exist
tells you when you are on the phone https://companion.home-assistant.io/docs/core/sensors#phone-state-sensor
https://companion.home-assistant.io/docs/core/sensors#last-notification provides all notification data including caller ID and text messages etc…