Closed Jaguaza closed 7 months ago
The tracked entity you are using is likely always reporting a GPS Accuracy of 0 regardless of how accurate the GPS Accuracy actually is. In the places
configuration for this sensor, set Use GPS Accuracy
to False
and it should start working.
And no waste of time. Happy to help.
Es probable que la entidad rastreada que está utilizando siempre informe una precisión de GPS de 0, independientemente de qué tan precisa sea realmente la precisión del GPS. En la
places
configuración de este sensor, configúreloUse GPS Accuracy
enFalse
y debería comenzar a funcionar.Y no hay pérdida de tiempo. Encantado de ayudarle.
Thank you. That worked.
How can I make it not show not_home, house.
Show the address in:
Street, number, city. Is it possible?
Thanks :-)
Set the Display Options to street, street_number, city
. Full list of Display Options and the Advanced Display Options are in the Readme.
Set the Display Options to
street, street_number, city
. Full list of Display Options and the Advanced Display Options are in the Readme.
Great, it was so easy I'm embarrassed.
There is one thing I see, put in the street_number string, no matter if in first, second or last position the street_number always shows it first.
Sorry, you are indeed correct. I forgot that the simple Display Options appear in a fixed order. Instead, if you use the Advanced Display Options, you can define whatever order you want. The simplest way do to this is to set your Display Options to: street[], street_number, city
The square brackets trigger the Advanced Display Options.
Sorry, you are indeed correct. I forgot that the simple Display Options appear in a fixed order. Instead, if you use the Advanced Display Options, you can define whatever order you want. The simplest way do to this is to set your Display Options to:
street[], street_number, city
The square brackets trigger the Advanced Display Options.
Nothing to forgive. On top of that you are helping me with this. Thanks for your time.
Good, first of all thank you for your work, it is always appreciated that there are people who work selflessly for those who do not know how to program.
I have used this cunstond but I always get the result of unknown.
I pass the device and the log, I would appreciate your help.
What the log says:
2024-01-21 16:27:53.621 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration places which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-01-21 16:29:13.305 INFO (MainThread) [custom_components.places.sensor] (exeo) [Init] Places sensor: exeo 2024-01-21 16:29:13.305 DEBUG (MainThread) [custom_components.places.sensor] (exeo) [Init] System Locale: ('en_US', 'UTF-8') 2024-01-21 16:29:13.305 DEBUG (MainThread) [custom_components.places.sensor] (exeo) [Init] System Locale Date Format: %m/%d/%y 2024-01-21 16:29:13.305 DEBUG (MainThread) [custom_components.places.sensor] (exeo) [Init] HASS TimeZone: Europe/Madrid 2024-01-21 16:29:13.305 DEBUG (MainThread) [custom_components.places.sensor] (exeo) [Init] entity_id: sensor.exeo 2024-01-21 16:29:13.305 DEBUG (MainThread) [custom_components.places.sensor] (exeo) [Init] JSON Filename: places-12c33a8d42ae29b052ab29921fc1910c.json 2024-01-21 16:29:13.308 DEBUG (MainThread) [custom_components.places.sensor] (exeo) [Init] No JSON file to import (places-12c33a8d42ae29b052ab29921fc1910c.json): [Errno 2] No such file or directory: 'custom_components/places/json_sensors/places-12c33a8d42ae29b052ab29921fc1910c.json' 2024-01-21 16:29:13.309 INFO (MainThread) [custom_components.places.sensor] (exeo) [Init] Tracked Entity ID: device_tracker.exeo 2024-01-21 16:29:13.314 INFO (SyncWorker_12) [custom_components.places.sensor] (exeo) Starting Scan Interval Update (Tracked Entity: device_tracker.exeo) 2024-01-21 16:29:13.314 DEBUG (SyncWorker_12) [custom_components.places.sensor] (exeo) [is_devicetracker_set] proceed_with_update: 1 2024-01-21 16:29:13.314 INFO (SyncWorker_12) [custom_components.places.sensor] (exeo) GPS Accuracy is 0.0, not performing update 2024-01-21 16:29:13.314 DEBUG (SyncWorker_12) [custom_components.places.sensor] (exeo) [is_devicetracker_set] proceed_with_update: 0 2024-01-21 16:29:13.314 DEBUG (SyncWorker_12) [custom_components.places.sensor] (exeo) Reverting attributes back to before the update started 2024-01-21 16:29:13.314 INFO (SyncWorker_12) [custom_components.places.sensor] (exeo) End of Update 2024-01-21 16:29:13.318 DEBUG (MainThread) [custom_components.places.sensor] (exeo) [Init] Subscribed to Tracked Entity state change events
Thank you for wasting your time for me.