Zone.home entity doesn't update its state

Hello, I have two boolean input helpers that I use to trigger an automation that set a custom device tracker (mapped in known_devices.yaml) at home and at not_home. But from one week the zone.home entity doesn’t increase or decrease its state accordingly.

Could anyone help me?

Thank you so much

P.S. my home assistant Core version is 2026.7.2

There has been significant change recently in the way zone state is calculated. I don’t understand the details, but that could be the root cause.

zones only count persons, not device trackers. Is the device tracker linked to a person?

If so then it is likely a bug. But you mention you use an automation, which implies you use device_tracker.see which was recently deprecated and will be removed 6 months after deprecation.

You may be able to avoid the problem if you move to the new way, which is to define a template device tracker helper (new functionality) instead of using known_devices (also deprecated for years now) and device_tracker.see

Check out this thread, but we’ll have to rework things. I haven’t found a solution that works 100% for me yet.

Thank you for the support, using the device tracker template I solved my problem.

Thank you