New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Locative device trackers disappear after restarting HA #28877
Comments
Same problem here. The created device_tracker is not shown in the locative integration. Its empty |
Same issue here. Any solutions? |
If the locative device has a unique id it's possible to implement the same solution as done for gpslogger: This issue is a feature request and not really a bug as the integration is working according to current implementation. I'll close here now. |
@MartinHjelmare Why closed?
It is an abnormal functionality that was broken several versions ago and should be fixed. |
It's a feature request. We don't track feature requests in our issue tracker. I've outlined the solution above. A PR with that is welcome. |
Vote to get the fix: |
Home Assistant release with the issue:
Last working Home Assistant release (if known):
Unsure. Did not use Locative prior to the migration to Integrations config.
Integration:
Locative
Description of problem:
After creating a webhook through the Locative integration config flow, my devices are able to submit webhooks successfully. For each device sending POST requests to the webhook, a new
device_tracker
is created in HA. These device trackers can be linked to a person to track their state in HA.The problem is that when HA is restarted, the device trackers that had been previously created no longer exist. This causes Persons to be shown as "unknown" (or "UNK" in badges). I've confirmed that the device trackers get re-created when the next POST request is sent to the webhook. I've also noticed that the entity registry does not list Locative device trackers.
Ideally, device trackers would persist after restarts and should be deleted manually if no longer needed. The state of the device tracker at HA startup should be the last state recorded prior to HA shutdown.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):No configuration.yaml because Locative is configured through the Integrations page
Traceback (if applicable):
Additional information:
The text was updated successfully, but these errors were encountered: