layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_iot_class | ha_release |
---|---|---|---|---|---|---|---|---|---|---|---|
page |
Google Geocode |
Convert device tracker location into a human-readable address. |
2017-07-30 11:00 |
true |
false |
true |
true |
google_maps.png |
Sensor |
Cloud Polling |
0.6 |
The google_geocode
sensor converts device tracker location into a human-readable address.
The sensor will update the address each time the device tracker location changes. If the device tracker is in a zone it will display the zone.
sensor:
- platform: google_geocode
origin: device_tracker.mobile_phone
origin (Required): Tracking can be setup to track entity type device_tracker. The component updates it will use the latest location of that entity and update the sensor.
name (Optional): A name to display on the sensor. The default is “Google Geocode"
options (Optional): Select what level of address information you want. Choices are 'street_number', 'street', 'city', 'county', 'state', 'postal_town', 'postal_code', 'country' or 'formatted_address'. You can use any combination of these options, separate each option with a comma. The default is “street, city"
display_zone (Optional): Choose to display a zone when in a zone. Choices are 'show' or 'hide'. The default is “show"
- platform: google_geocode
name: michael
origin: device_tracker.mobile_phone
options: street_number, street, city
display_zone: hide
Powered by Google Maps