Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry * Update integrations
This commit is contained in:
parent
108bcabf75
commit
045c327928
620 changed files with 821 additions and 800 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue