It's seems that with the last update this got solved but now there seems to be another problem.
I keep getting this message when geofencing is triggered
"COULDN'T COMPLETE ACTION
Mi Home has no permission to complete action after iPhone is rebooted, unlock the screen and try again."
I have not rebooted the phone. App still running background.
This seems to happen when switching from home wifi to 4g when I leave the house.