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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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")