mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry * Update integrations
This commit is contained in:
@@ -1138,7 +1138,7 @@ class MockEntity(entity.Entity):
|
||||
return self._handle("device_class")
|
||||
|
||||
@property
|
||||
def device_info(self) -> entity.DeviceInfo | None:
|
||||
def device_info(self) -> dr.DeviceInfo | None:
|
||||
"""Info how it links to a device."""
|
||||
return self._handle("device_info")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user