Zone condition does not work with Mqtt device tracker

I have some person entities configured. Each of them uses a gps device tracker and a mqtt device tracker. The mqtt device tracker states home when connected to the WiFi network.

I have some problems with the zone condition in some automations. The state of the person entity uses the state of the mqtt device tracker when I am home. The problem is that when I am checking if my person is in the home zone it does not pass when I am home. The person is also not displayed on the map when I am home. I know only gps device trackers are displaying on the map but i would expect the person entity uses the state from the Mqtt tracker and the gps data from the other tracker.

Is this the correct behavior of the person entity or can fix this?

That is the expected behavior.

Post the automation trace so we can actually see what is going on.

See the trace of a simple test automation i created. The problem is that it says that there is no gps data. When i remove the mqtt device tracker the automation work. I also tried another device tracker without gps but than the automation does not run either.

{
  "trace": {
    "last_step": "condition/0",
    "run_id": "d464815f3d8ceccbcce39c85c36d2ddd",
    "state": "stopped",
    "script_execution": "failed_conditions",
    "timestamp": {
      "start": "2023-12-26T16:49:00.336170+00:00",
      "finish": "2023-12-26T16:49:00.337937+00:00"
    },
    "domain": "automation",
    "item_id": "1703608300442",
    "trigger": "time pattern",
    "trace": {
      "trigger/0": [
        {
          "path": "trigger/0",
          "timestamp": "2023-12-26T16:49:00.336332+00:00",
          "changed_variables": {
            "this": {
              "entity_id": "automation.test",
              "state": "on",
              "attributes": {
                "id": "1703608300442",
                "last_triggered": "2023-12-26T16:44:00.353157+00:00",
                "mode": "single",
                "current": 0,
                "friendly_name": "Test"
              },
              "last_changed": "2023-12-26T16:47:59.548128+00:00",
              "last_updated": "2023-12-26T16:47:59.548128+00:00",
              "context": {
                "id": "01HJKGD91R1NHX8AKMZR2X6NXT",
                "parent_id": null,
                "user_id": "b3af13ade62e4e38a3e354cf86d4dac5"
              }
            },
            "trigger": {
              "id": "0",
              "idx": "0",
              "alias": null,
              "platform": "time_pattern",
              "now": "2023-12-26T17:49:00.335135+01:00",
              "description": "time pattern"
            }
          }
        }
      ],
      "condition/0": [
        {
          "path": "condition/0",
          "timestamp": "2023-12-26T16:49:00.336876+00:00",
          "error": "In 'zone' condition: error matching person.nick with zone.home: entity person.nick has no 'latitude' attribute"
        }
      ]
    },
    "config": {
      "id": "1703608300442",
      "alias": "Test",
      "description": "",
      "trigger": [
        {
          "platform": "time_pattern",
          "minutes": "/1"
        }
      ],
      "condition": [
        {
          "condition": "zone",
          "entity_id": "person.nick",
          "zone": "zone.home"
        }
      ],
      "action": [
        {
          "service": "light.turn_off",
          "data": {},
          "target": {
            "entity_id": "light.vloerlamp_1"
          }
        }
      ],
      "mode": "single"
    },
    "blueprint_inputs": null,
    "context": {
      "id": "01HJKGF4DG23XM4YT3PZS67B7X",
      "parent_id": null,
      "user_id": null
    }
  },
  "logbookEntries": []
}