Hello,
I have a problem configuring automations with the “Zone.Home” trigger.
At the moment I need to do 2 automations:
- Comming Home
- Leaving Home
For comming home :
Trigger: When the number of people is greater than 0
For leaving Home :
Trigger: When the number of people is less than 1
The problem is that the state of the “Zone.Home” entity doesn’t return a number, but the names of the people present, such as “person.me, person.her etc…”.
But when I go to config/entities → zone.home, I can see the number of people present.
How can I retrieve this value for automation?
Thanks
Kind regards