Hi everyone!
The general idea is to pause Spotify every time a WhatsApp call comes in and resume it when I hang up.
I have an automation that already works perfectly, detecting calls on my phone with sensor.motorola_phone_state. It pauses Spotify and resumes when I hang up on landline calls.
The problem is that I can only detect landline calls with sensor._phone_state.
Has anyone been able to detect calls coming in through WhatsApp?
Thanks!!