I’m not an idiot, but i am more of a hardware vs software guy. I’ve been trying to get my phone state from my cell phones in the house to pause certain tv’s and such.
Software:
HA OS on a RPi - hacs
HA On all 3 phones
I saw this somewhere else:
- alias: Phone Calls
trigger:
#making a call: idle to offhook
- platform: state
entity_id: sensor.phone_phone_state
from: idle
to: offhook
#answering a call: ringing to offhook
- platform: state
entity_id: sensor.phone_phone_state
from: ringing
to: offhook
#hanging up a call: offhook to idle
- platform: state
entity_id: sensor.phone_phone_state
from: offhook
to: idle
condition:
- condition: state
entity_id: sensor.where_are_you
state: 'Home'
I cant sem to find any entities anywhere that match these in any way. I can see battery states but not phone_state on the samsung’s. I can also see the iPhones: SIM 1 & 2, and activity.
can someone help an old idgit out and either guide me to resources that might be helpful (i’ve searched any way i can seem to search) or just lemme know how to do it?
OK so i figured it out while you guys were writing.
First i realized i had my entities set to only active or whatever, so i turned the filter off, then i realized it was disabled, so i went to fix that. Viola its done.
Steps for anyone that comes in the future:
Go into Apps > Home Assistant and turn on permissions
Then create an automation. I’ll attach a screenshot and the yaml so you can see how i have mine setup.
I’m trying to the same thing. But I want to have a condition that only the phones that are in the room watching the TV that if they get a call the pauses but not all phone. How to make that possible?
If you setup the Integration called ‘Bermuda’ and have enough Bluetooth Proxies around your home, you can essentially let Home Assistant ‘know’ which room your phone is in. From there you can tailor your Automation to direct the pause command to the correct device.