Add configuration_url to iCloud integration (#58557)

This commit is contained in:
Quentame 2021-10-28 09:03:53 +02:00 committed by GitHub
parent bcd4ffdef3
commit f28de7891d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,7 @@ class IcloudTrackerEntity(TrackerEntity):
def device_info(self) -> DeviceInfo:
"""Return the device information."""
return DeviceInfo(
configuration_url="https://icloud.com/",
identifiers={(DOMAIN, self._device.unique_id)},
manufacturer="Apple",
model=self._device.device_model,

View File

@ -94,6 +94,7 @@ class IcloudDeviceBatterySensor(SensorEntity):
def device_info(self) -> DeviceInfo:
"""Return the device information."""
return DeviceInfo(
configuration_url="https://icloud.com/",
identifiers={(DOMAIN, self._device.unique_id)},
manufacturer="Apple",
model=self._device.device_model,