361 files
This commit is contained in:
@@ -43,7 +43,10 @@ class SpookRepair(AbstractSpookRepair):
|
||||
|
||||
known_entity_ids = async_get_all_entity_ids(self.hass)
|
||||
|
||||
for entity in scenes:
|
||||
# Taken as a snapshot: describing what is missing can hand the event
|
||||
# loop a turn, and a change to the live collection during it ends the
|
||||
# inspection in a `RuntimeError`. #1558.
|
||||
for entity in list(scenes):
|
||||
self.possible_issue_ids.add(entity.entity_id)
|
||||
if unknown_entities := async_filter_known_entity_ids(
|
||||
self.hass,
|
||||
@@ -62,7 +65,7 @@ class SpookRepair(AbstractSpookRepair):
|
||||
issue_id=entity.entity_id,
|
||||
references=unknown_entities,
|
||||
translation_placeholders={
|
||||
"entities": async_describe_unknown_entities(
|
||||
"entities": await async_describe_unknown_entities(
|
||||
self.hass, sorted(unknown_entities)
|
||||
),
|
||||
"scene": entity.name,
|
||||
|
||||
Reference in New Issue
Block a user