Not sure when it broke, but at least three or four core updates ago. I have automations that send me push notifications from PIR sensors when I’m not home. I’m using an iPhone for presence detection. Here is one of my automations:
- alias: Sensor Board-1 Family Room PIR
initial_state: true
trigger:
- platform: state
entity_id: binary_sensor.sb_1_motion
to: 'on'
condition:
- condition: state
entity_id: device_tracker.keith
state: not_home
#state: home
action:
service: notify.mobile_app_keith
data:
message: Family room PIR has detected motion
data:
push:
sound: Family room motion just tripped.wav