2 alternatives to Shortcuts.
-
Use Homebridge with a virtual combo switch/presence sensor. You need to set up an automation in Apple Home using similar logic as for Shortcuts. The benefit is that a switch and automation lives in the Apple Home system while Shortcuts live on an iOS device. The combo presence/switch driver is here:
https://raw.githubusercontent.com/ogiewon/Hubitat/master/Drivers/virtual-presence-switch.src/virtual-presence-switch.groovy -
Use Geofency instead or in addition to native Apple presence
[RELEASE] Geofency Presence