Hello, how do I make a counter when someone enters a zone?

Don’t look at the value of the zone. The zone’s state is a count of people in the zone. Look at the person entity. The state of a person is the name of the zone they’re in.

1 Like

:heart: :heart:
Thank you very much, it finally worked, I was in the gym and I checked the state of person.alex_peter there
image

hi, Unfortunately it doesn’t work like that, I think the yaml code is wrong?

It’s case sensitive.

2 Likes

:see_no_evil: :see_no_evil: :see_no_evil: that was it, Thanks