Add configuration url to Tractive (#58038)

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
This commit is contained in:
Daniel Hjelseth Høyer 2021-10-19 19:57:01 +02:00 committed by GitHub
parent fbe3ce1bf7
commit 24d3bf0930
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,7 @@ class TractiveEntity(Entity):
) -> None:
"""Initialize tracker entity."""
self._attr_device_info = DeviceInfo(
configuration_url="https://my.tractive.com/",
identifiers={(DOMAIN, tracker_details["_id"])},
name=f"Tractive ({tracker_details['_id']})",
manufacturer="Tractive GmbH",