Hello!
How can I use HA’s geocoding functionality that is available in the settings of the (Android in my case) companion app likewise for GPS coordinates that I get via a template from my router in my RC car?
I read Sensors | Home Assistant Companion Docs
But I do not understand if/how this could be translated to my use case, i.e. to see the street name etc. of where my router/car is located.
Here is my template and card code that I use to show my router/car location on a map - but I want to see (as a separate entity on a different section) also the street name.
templates.yaml
(included in configuration.yaml
):
sensor:
- name: Router GPS position
unique_id: Router_GPS_position
state: not_home
attributes:
latitude: >
{{ states('sensor.router_gps_latitude') }}
longitude: >
{{ states('sensor.router_gps_longitude') }}
accuracy: >
{{ states('sensor.router_gps_accuracy') }}
Map:
- type: map
entities:
- entity: sensor.router_gps_position
name: Car
geo_location_sources:
- all
aspect_ratio: "3:2"
default_zoom: 16
auto_fit: true
fit_zones: true
hours_to_show: 12
theme_mode: auto
Thanks for your help!