mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02:00
Replace pop calls with del where the result is discarded in restore_state (#118339)
This commit is contained in:
@@ -281,7 +281,7 @@ class RestoreStateData:
|
||||
state, extra_data, dt_util.utcnow()
|
||||
)
|
||||
|
||||
self.entities.pop(entity_id)
|
||||
del self.entities[entity_id]
|
||||
|
||||
|
||||
class RestoreEntity(Entity):
|
||||
|
Reference in New Issue
Block a user