I was trying to make a family group with all the members of the family, to use in automation, such as if all present or not etc. I can create light group and sensor group under helper-groups. I am unable to find option to create person group. I watched some youtube videos, most of them nearly a year old, some of them asking to edit groups.yaml file however I cannot find this in my config folder.
Home Assistant 2023.2.3
Supervisor 2023.01.1
Operating System 9.5
Frontend 20230202.0 - latest
Are you interested in âmembers of the familyâ or âpresence detection of tracked individuals?â It matters because you may not be looking for what you think youâre looking for.
Specifically, It sounds like youâre about to start building presence based automations - but we generally donât build groups for that in HA land - thereâs already something there that you can use without configuring additional âstuffâ
Most recommend looking at a Zoneâs state for count of individuals currently in a zone (0=unoccupied) and thereâs a multi valued âpersonsâ attribute that contains a list of all the person entities currently in that zone.
Thanks Nathan. Yes, I am looking for automation based on presence detection of tracked persons. Can this be done using GUI as I am not very good with YAML (yet!)
Would you be able to provide a step by step instruction on this?
I use Node Red for my automations so no i will not be able to provide examples
That said. Youâre going to want to look at the âstateâ of the zone, not the attributes. Youâre only interested in the attributes if youâre looking for a particular person.
If I leave the attribute empty, what is the trigger, It will be âif the state of the home changes toâ ? we need to give a value right? so that the HA knows when the state changes to 0 (means no one at home) and 1 means 1 person at home? Or have I understood completely wrongly?
Check the state of the devices that are assigned to your persons. Assign that one which shows the correct state. If you assign multiple devices that one with the last refresh will be taken.