forked from home-assistant/core
Add configuration_url
to iCloud integration (#58557)
This commit is contained in:
committed by
Paulus Schoutsen
parent
211041eb3a
commit
928b8bcdbd
@@ -116,6 +116,7 @@ class IcloudTrackerEntity(TrackerEntity):
|
|||||||
def device_info(self) -> DeviceInfo:
|
def device_info(self) -> DeviceInfo:
|
||||||
"""Return the device information."""
|
"""Return the device information."""
|
||||||
return DeviceInfo(
|
return DeviceInfo(
|
||||||
|
configuration_url="https://icloud.com/",
|
||||||
identifiers={(DOMAIN, self._device.unique_id)},
|
identifiers={(DOMAIN, self._device.unique_id)},
|
||||||
manufacturer="Apple",
|
manufacturer="Apple",
|
||||||
model=self._device.device_model,
|
model=self._device.device_model,
|
||||||
|
@@ -94,6 +94,7 @@ class IcloudDeviceBatterySensor(SensorEntity):
|
|||||||
def device_info(self) -> DeviceInfo:
|
def device_info(self) -> DeviceInfo:
|
||||||
"""Return the device information."""
|
"""Return the device information."""
|
||||||
return DeviceInfo(
|
return DeviceInfo(
|
||||||
|
configuration_url="https://icloud.com/",
|
||||||
identifiers={(DOMAIN, self._device.unique_id)},
|
identifiers={(DOMAIN, self._device.unique_id)},
|
||||||
manufacturer="Apple",
|
manufacturer="Apple",
|
||||||
model=self._device.device_model,
|
model=self._device.device_model,
|
||||||
|
Reference in New Issue
Block a user