1
0
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:
Erik Montnemery
2023-08-11 04:04:26 +02:00
committed by GitHub
parent 108bcabf75
commit 045c327928
620 changed files with 821 additions and 800 deletions

View File

@@ -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")