Skip to content

Bug: device_tracker.see service no longer updates person's "in_zones" attribute / zone count stays at 0 in 2026.7.0 #175376

Description

@Gnu-Master

The problem

Since updating to Core 2026.7.0, updating a virtual device tracker via the device_tracker.see service changes the person's state correctly to home, but it fails to update the person's in_zones attribute. As a result, the zone.home state does not increment and stays at 0, breaking all automations relying on the zone count.

Before 2026.7.0, using device_tracker.see with location_name: home and source_type: router correctly assigned the person to the home zone.

We did extensive troubleshooting and tried several workarounds, but none of them populated the in_zones attribute anymore:

  1. Standard method: Using location_name: home and source_type: router.
  2. GPS workaround 1: Removing location_name and sending the exact GPS coordinates of the home zone with source_type: gps and gps_accuracy: 10.
  3. GPS workaround 2: Forcing both location_name: home AND hardcoded gps coordinates simultaneously.

In all 3 scenarios, the active tracker correctly switches to the virtual tracker, the person's state changes to home, and the latitude/longitude attributes are updated. However, in_zones remains completely empty, and zone.home stays at 0. It seems the zone geometry engine completely ignores tracker updates coming from the device_tracker.see service since 2026.7.0.

What version of Home Assistant Core has the issue?

core-2026.7.0

What was the last working version of Home Assistant Core?

core-2026.6.4

What type of installation are you running?

Home Assistant Container

Integration causing the issue

device_tracker / zone / person

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

alias: Anwesenheitserkennung über WLAN
description: Setzt Home bei WLAN-Verbindung im Heimnetz.
triggers:
  - entity_id: sensor.galaxy_s25_ultra_wi_fi_connection
    trigger: state
  - entity_id: sensor.wife_handy_wi_fi_connection
    trigger: state
actions:
  - choose:
      - conditions:
          - condition: state
            entity_id: sensor.galaxy_s25_ultra_wi_fi_connection
            state: WLAN-Network0815
        sequence:
          - data:
              dev_id: galaxy_s25_ultra_wlan_tracker
              location_name: home
              source_type: router
            action: device_tracker.see
      - conditions:
          - condition: not
            conditions:
              - condition: state
                entity_id: sensor.galaxy_s25_ultra_wi_fi_connection
                state: WLAN-Network0815
        sequence:
          - data:
              dev_id: galaxy_s25_ultra_wlan_tracker
              location_name: not_home
              source_type: router
            action: device_tracker.see
  - choose:
      - conditions:
          - condition: state
            entity_id: sensor.wife_handy_wi_fi_connection
            state: WLAN-Network0815
        sequence:
          - data:
              dev_id: wife_handy_wlan_tracker
              location_name: home
              source_type: router
            action: device_tracker.see
      - conditions:
          - condition: not
            conditions:
              - condition: state
                entity_id: sensor.wife_handy_wi_fi_connection
                state: WLAN-Network0815
        sequence:
          - data:
              dev_id: wife_handy_wlan_tracker
              location_name: not_home
              source_type: router
            action: device_tracker.see

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions