mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Remove duplicated call to time.time in device registry (#152024)
This commit is contained in:
@@ -1608,7 +1608,6 @@ class DeviceRegistry(BaseRegistry[dict[str, list[dict[str, Any]]]]):
|
||||
) -> None:
|
||||
"""Clear config entry from registry entries."""
|
||||
now_time = time.time()
|
||||
now_time = time.time()
|
||||
for device in self.devices.get_devices_for_config_entry_id(config_entry_id):
|
||||
self.async_update_device(
|
||||
device.id,
|
||||
|
||||
Reference in New Issue
Block a user