mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
cleanups
This commit is contained in:
@@ -80,8 +80,7 @@ def async_static_info_updated(
|
||||
new_unique_id = build_device_unique_id(device_info.mac_address, info)
|
||||
entity_id = ent_reg.async_get_entity_id(platform.domain, DOMAIN, old_unique_id)
|
||||
|
||||
if not entity_id:
|
||||
continue
|
||||
assert entity_id is not None
|
||||
|
||||
updates: dict[str, Any] = {}
|
||||
|
||||
|
Reference in New Issue
Block a user