Persistent_notification.invalid_config

I tried to setup person presence using Android app, but it doesn’t work and I saw error below in the Developer Tools. The configuration.yaml doesn’t contain anything about device tracker. There is no /config/logs in the file area. So, how to fix this?

Restarted HA, still error.

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

# Text to speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

# database
recorder:
  db_url: !secret mariadb_url

# cloudflared
http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.30.33.0/24
persistent_notification.invalid_config
Invalid config
notifying	message: The following integrations and platforms could not be set up:

 - [device_tracker](https://www.home-assistant.io/integrations/device_tracker) ([Show logs](/config/logs?filter=device_tracker))

Please check your config and [logs](/config/logs).
title: Invalid config
friendly_name: Invalid config

all you have to do is login to the app and enable the location tracking toggle, alternatively you can follow these steps too

you don’t need to make any config changes for this.

1 Like

This is resolved by doing this:

  • Uninstall Android mobile companion app
  • Delete the phone entity
  • Remove device tracker from person
  • Restart

I don’t know what happened, but after doing that, no invalid_config error.

1 Like