Thanks to the new Home Assistant IOS app, I can finally implement this!
mobile_app:
discovery:
ios:
input_boolean:
findphone_button:
name: Find My Phone
initial: off
icon: mdi:cellphone
automation:
- alias: FindPhone
initial_state: 'on'
action:
- service: notify.mobile_app_PHONEID
data:
message: "Polo!"
data:
push:
sound:
name: default
critical: 1
volume: 1.0
- service: input_boolean.turn_off
entity_id: input_boolean.findphone_button
trigger:
- platform: state
entity_id: input_boolean.findphone_button
to: 'on'
Then just add a entity-button to your lovelace UI:
- type: entity-button
entity: input_boolean.findphone_button
And your phone will ding you even when on silent, working just like “Find My Phone” without needing to log into anything else.