Entity is not showing when using mqtt device_tracker

Hi, can anyone tell me what I did wrong, I can not get my mqtt tracker device show up in entity.

Followed the instruction here.

The following should show up as device_tracker.paulus_oneplus in entity right? No matter what I do, it just doesn’t come up, am I using it the wrong way?

device_tracker:

  • platform: mqtt
    devices:
    paulus_oneplus: /location/paulus

To answer my own question - the entity will only appear when there is a mqtt message received, so retained flag must be used if you need to display the device in the frontend, not sure if this is a bug.

1 Like