#device_tracker configuration broken after

1 messages · Page 1 of 1 (latest)

golden orchid
#

I have the following configuration which used to work:

device_tracker:

  • platform: ping
    hosts:
    hostone: 192.168.0.180
  • platform: iphonedetect
    consider_home: 60
    new_device_defaults:
    track_new_devices: true
    hosts:
    cara: 192.168.0.207

I recently upgraded HomeAssistant to 2025.3.1, and the device_tracker.hostone / device_tracker.cara disappeared. In the logs, I see some errors;

Logger: homeassistant
Source: components/device_tracker/legacy.py:393
First occurred: 9:59:05 PM (1 occurrences)
Last logged: 9:59:05 PM

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/device_tracker/legacy.py", line 258, in _async_setup_integration
legacy_platforms = await async_extract_config(hass, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/device_tracker/legacy.py", line 393, in async_extract_config
raise ValueError(
f"Unable to determine type for {platform.name}: {platform.type}"
)
ValueError: Unable to determine type for ping: None

What could be the issue here?

tight hemlock
#

what version did you upgrade from?

#

a lot of integrations are being migrated from yaml to ui over time

#

i dont see any documentation for the yaml for this integration

#

is it possible you upgraded from an older version and missed the deprication warnings and (im assuming automatic migration too) ans so this happened?

#

at any rate, just set it in the ui

golden orchid
#

it's possible, it was a year or so old

golden orchid
#

I see, just install the integrations for icmpping and iphonedirect and use thiose instead of device tracker seems like it may work better?

tight hemlock
#

The ping integration is in the ui, just set it up in the ui