mirror of
https://github.com/home-assistant/core.git
synced 2025-09-12 00:01:43 +02:00
Fix stale comment in device registry (#151227)
This commit is contained in:
@@ -985,7 +985,7 @@ class DeviceRegistry(BaseRegistry[dict[str, list[dict[str, Any]]]]):
|
|||||||
via_device_id=via_device_id,
|
via_device_id=via_device_id,
|
||||||
)
|
)
|
||||||
|
|
||||||
# This is safe because _async_update_device will always return a device
|
# This is safe because async_update_device will always return a device
|
||||||
# in this use case.
|
# in this use case.
|
||||||
assert device
|
assert device
|
||||||
return device
|
return device
|
||||||
|
Reference in New Issue
Block a user