I use Apples home app for location. Its not the most elegent solution but it works.
Here’s what I do:
Configure location in home app
Let the home app trigger a device that can be used in HA
Use the state of device to trigger automation in HA
As of now, I have a dlink w215 switch connected with homebridge. Leaving home turns on the switch, witch trigger automation in HA. Coming home turns off the switch, which triggers automation in HA.
I’ve used philips hue before instead of w215. I used a certain rgb color as trigger for HA.
To summarize, I’m using homekit to trigger HA regarding location updates.
do you need an ipad or appletv to use homekit location? I currently have homekit-homebridge installed but I do not get the location options for automations.
I believe the same approach could be used to read the state of Homekit sensors into HA. For example, I have the Elgato door sensor, but currently cant read its state (open/closed) in HA. I will try setup an input boolean as a switch that can be exposed to the iOS Home app via Homebridge. I then use the Automations within the home app to toggle the switch. If anyone has done this already be good to hear about it
Cheers