Hello,
I have what I think is a simple automation…when both people leave, arm alarm. However, it appears that HA is not detecting when we leave zone. We are using companion app on phones for location determination.
Thanks for coming here and asking a question. Welcome to the Home Assistant Forum.
Would you be so kind as to adjusting the format of your code so that we can read it properly & check the YAML spacing, etc. Editing your original is the preferred way. It is very hard for us to tell what is what when the text formatter jumbles everything like that.
You can use the </> button like this… How to format your code in forum posts
OR… Here is an example of how to fix formatting from the site FAQ Page. How to help us help you - or How to ask a good question.
Note, that if you have iPhones - ping will not work reliably, as when the device goes into power saving mode it will stop responding to pings. There is a custom component called iphonedetect that works very reliably.