MQTT Tracker with separate Latitude and Longitude Topics


I am attempting to set up an MQTT Tracker, but the integration I am using has separate topics for latitude and longitude. I have taken a look through the documentation (MQTT device tracker - Home Assistant), but could not see whether this can be configured directly with the tracker configuration, or whether I would need to set up as separate sensors and then set up a template?


I don’t know about the HASS integration’s abilities, but another approach would be to extract the Lat and Lon into variables then re-publish a combined topic in the format expected.

Here’s a similar issue with a complete automation:

1 Like

Thanks James,
Will look at that as an option, but if having to customise will probably do on the HA side with a template. Was just hoping I could use directly with the MQTT Device Tracker with some magic!