1
0
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:
Erik Montnemery
2025-09-10 11:15:59 +02:00
committed by GitHub
parent a12617645b
commit 3e39f77e92

View File

@@ -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,