{"action":"closed","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2701","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2701/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2701/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2701/events","html_url":"https://github.com/home-assistant/home-assistant/issues/2701","id":168777044,"number":2701,"title":"Cannot delete old owntracks ids","user":{"login":"gadget1999","id":1282773,"avatar_url":"https://avatars.githubusercontent.com/u/1282773?v=3","gravatar_id":"","url":"https://api.github.com/users/gadget1999","html_url":"https://github.com/gadget1999","followers_url":"https://api.github.com/users/gadget1999/followers","following_url":"https://api.github.com/users/gadget1999/following{/other_user}","gists_url":"https://api.github.com/users/gadget1999/gists{/gist_id}","starred_url":"https://api.github.com/users/gadget1999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadget1999/subscriptions","organizations_url":"https://api.github.com/users/gadget1999/orgs","repos_url":"https://api.github.com/users/gadget1999/repos","events_url":"https://api.github.com/users/gadget1999/events{/privacy}","received_events_url":"https://api.github.com/users/gadget1999/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-02T01:02:58Z","updated_at":"2016-08-02T01:35:12Z","closed_at":"2016-08-02T01:35:12Z","body":"**Home Assistant release (`hass --version`):**\r\n0.25.1\r\n\r\n**Python release (`python3 --version`):**\r\n3.4.2\r\n\r\n**Component/platform:**\r\nRaspberry Pi 2\r\n\r\n**Description of problem:**\r\nWhen I started to use OwnTracks, I put a few wrong user/device id in the Android app. As a result, both new and old ids show up on Home Assistant (expected behavior). They show up in the Friends list within owntracks app too (expected behavior).\r\n\r\nLater on I used correct user/device id and cleaned up my MQTT broker (Mosquitto), after this I no longer see the old ids within owntracks app (expected behavior), but I still see them in Home Assistant (unexpected behavior). \r\n\r\n**Expected:**\r\nThe old id entries should no long appear in Home Assistant.\r\n\r\n**Problem-relevant `configuration.yaml` entries and steps to reproduce:**\r\n```yaml\r\ndevice_tracker:\r\n    platform: owntracks\r\n    max_gps_accuracy: 200\r\n```\r\n\r\n1. Enable owntracks device tracking in config file, restart HASS\r\n2. Install owntracks app, input some ids and report location; then change id and report location again\r\n3. In HASS, both old and new ids show up\r\n4. delete Mosquitto persistence db and restart Mosquitto\r\n5. reinstall owntracks app, input new ids and report location\r\n6. both old and new ids still show up in HASS. (it seems no way to remove them).\r\n\r\n**Traceback (if applicable):**\r\n```bash\r\n\r\n```\r\n\r\n**Additional info:**\r\n\r\n"}}
{"actor":{"display_login":"balloob"}}