Ludy87 / xplora_watch

Xplora® Watch Home Assistant Integration
MIT License
50 stars 6 forks source link

Seit dem letzten Update geht der Device Tracker nicht mehr: #33

Closed Ludy87 closed 2 years ago

Ludy87 commented 2 years ago

Seit dem letzten Update geht der Device Tracker nicht mehr:

Diese Entität ("device_tracker.XXX_watch_tracker_011030(...)") hat keine eindeutige ID, daher können die Einstellungen nicht über die UI verwaltet werden.

Integration wurde schon neu hinzugefügt.

_Originally posted by @thmnxo4 in https://github.com/Ludy87/xplora_watch/issues/31#issuecomment-1119689538_

Ludy87 commented 2 years ago

@thmnxo4 die ID wird von Hassio in der /config/known_devices.yaml gespeichert und dies war noch nie anders, es gab noch nie die Möglichkeit, das per UI zu verstellen/ändern.

_Originally posted by @Ludy87 in https://github.com/Ludy87/xplora_watch/issues/31#issuecomment-1119702068_

Ludy87 commented 2 years ago

Und wie fix ich das nun? :-)

Ludy @.***> schrieb am Fr., 6. Mai 2022, 16:46:

@thmnxo4 https://github.com/thmnxo4 die ID wird von Hassio in der /config/known_devices.yaml gespeichert und dies war noch nie anders, es gab noch nie die Möglichkeit, das per UI zu verstellen/ändern.

— Reply to this email directly, view it on GitHub https://github.com/Ludy87/xplora_watch/pull/31#issuecomment-1119702068, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJF77IH66UL342J4JUGRWLVIUWCZANCNFSM5UZTG5JA . You are receiving this because you were mentioned.Message ID: @.***>

_Originally posted by @thmnxo4 in https://github.com/Ludy87/xplora_watch/issues/31#issuecomment-1119712667_

Ludy87 commented 2 years ago

Ich weiß nicht was du tun möchtest, aber wie gesagt, du kannst das in der Datei ändern

_Originally posted by @Ludy87 in https://github.com/Ludy87/xplora_watch/issues/31#issuecomment-1119721302_

Ludy87 commented 2 years ago

Das Problem ist, dass der Device Tracker nicht mehr angezeigt wird in der Karte.

Ludy @.***> schrieb am Fr., 6. Mai 2022, 17:07:

Ich weiß nicht was du tun möchtest, aber wie gesagt, du kannst das in der Datei ändern

— Reply to this email directly, view it on GitHub https://github.com/Ludy87/xplora_watch/pull/31#issuecomment-1119721302, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJF77IB2GSZL2VXZOOXUSLVIUYRPANCNFSM5UZTG5JA . You are receiving this because you were mentioned.Message ID: @.***>

_Originally posted by @thmnxo4 in https://github.com/Ludy87/xplora_watch/issues/31#issuecomment-1120149316_

Ludy87 commented 2 years ago

Dann prüfe bitte die ID von known_devices.yaml und die die in der Karte eingetragen ist, ggf. musst du in der known_devices.yaml sie ändern, oder in der Karte.

_Originally posted by @Ludy87 in https://github.com/Ludy87/xplora_watch/issues/31#issuecomment-1120154755_

Ludy87 commented 2 years ago

@thmnxo4, bitte hier weiter schreiben!

thmnxo4 commented 2 years ago

Was für ein Eintrag muss denn in der known_devices.yaml enthalten sein?

Da steht bei mir der watch_tracker mit den Komponenten name mac (leer) icon picture track: true

Ludy87 commented 2 years ago
ludy_watch_tracker_01111888d085f5f777f5f3333339736:  # das ist die ID, sollte so stehen bleiben und in den jeweiligen Karten genutzt werden
  name: Ludys Watch Tracker  # der Anzeigename
  mac:  # kann leer bleiben
  icon: mdi:watch  # freiwählbar
  picture: https://api.myxplora.com/file?id=1
  track: true

Schau, eventuell hat Hassio noch eine angelegt, dann diese rausnehmen und Core neustarten.

thmnxo4 commented 2 years ago

Also das passt alles. Die ID ist identisch.

File nochmal löschen und neu starten?

Ludy87 commented 2 years ago

Die Datei nicht löschen, aber eventuell die Uhr

Was sagt der Log von Hassio? Hast du den Debug aktiviert? https://github.com/Ludy87/xplora_watch#debug

thmnxo4 commented 2 years ago

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: homeassistant Source: custom_components/xplora_watch/device_tracker.py:218 Integration: Xplora® Watch (documentation, issues) First occurred: 6. Mai 2022, 16:49:18 (983 occurrences) Last logged: 11:55:05

Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/config/custom_components/xplora_watch/device_tracker.py", line 218, in import_device_data address["house_number"], KeyError: 'house_number'

Ludy87 commented 2 years ago

Super das hilft, werde ich fixen

thmnxo4 commented 2 years ago

Ok. HACS bietet mir das Update auf v35 nicht an (?)

Ludy87 commented 2 years ago

Welche Hassio Version hast du?

thmnxo4 commented 2 years ago

2022.5.0

Ludy @.***> schrieb am Mo., 9. Mai 2022, 18:01:

Welche Hassio Version hast du?

— Reply to this email directly, view it on GitHub https://github.com/Ludy87/xplora_watch/issues/33#issuecomment-1121286833, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJF77K7FF4EAHE4YCSNBDDVJEZDXANCNFSM5VKA5JDQ . You are receiving this because you were mentioned.Message ID: @.***>

Ludy87 commented 2 years ago

Version 2022.5.2 ist in der hacs.json als Mindestanforderung, eventuell liegt es daran.

image

Mit der Version 2021.11.5 wird das angezeit

image

thmnxo4 commented 2 years ago

Jup, daran lags. Thx

Ludy @.***> schrieb am Mo., 9. Mai 2022, 19:12:

Version 2022.5.2 ist in der hacs.json als Mindestanforderung, eventuell liegt es daran.

[image: image] https://user-images.githubusercontent.com/4592558/167459375-cffb7b38-04d3-43f8-ae41-9ccc97a87c84.png Mit der Version 2021.11.5 wird das angezeit

[image: image] https://user-images.githubusercontent.com/4592558/167461933-d5fafe00-330e-4423-80ce-982e1434ba9b.png

— Reply to this email directly, view it on GitHub https://github.com/Ludy87/xplora_watch/issues/33#issuecomment-1121361454, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJF77MPH43NWBZ6OX7BBDDVJFBQHANCNFSM5VKA5JDQ . You are receiving this because you were mentioned.Message ID: @.***>