I want to run a defined action whenever two specific people are leaving my home. For this purpose I have created a simple group of persons with two members in my configuration.yaml:
The group status is showing 'home. However, I can’t select ‘home’ in the from-definition of my trigger in an automation. I manually switched from home to away and back for each person, but that’s not changing anything.
You might be using the wrong type of trigger.
I use the Zone trigger for select persons leaving the house: Zone Trigger
You can pick multiple persons so you do not have to create a group for them.
Can you post the automation you created? And what integration are u using for the wifi tracking? Unifi or something else?
In the past i had an automation setup for the in-laws so the heating would turn on when their phones entered home
Also in the past the random MAC settings in IOS and Android would be problematic for this kind of detection.
I am using the UI where the selector ‘home’ is not showing. It is part of a bigger automation that includes window sensors to shut off a towel radiator. The standard heating is underfloor, which I don’t touch here (0.1 °C/hr change when switched off). I can try to put the from directly into the yaml but that’s not the way it is supposed to work, is it?
Device tracker is with German “Fritz Box Tools”. Trust me, it is working
Reason i asked for the automation is to also see what kind of trigger are using. Otherwise i can just give general advice.
For example a device trigger might not have that state but the entity will.
In my case with the unifi integration a device trigger will only show Zones i have setup but does not contain home and away
But the entity does have those.
The group integration does not supply possible states to the automation/script editor like that. For a group of person entities the available states are home or not_home as shown in the following table from Integrations - Groups - Old Style Groups: