-
-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
What version of Spook are you using?
3.1.0
What version of Home Assistant are you using?
2025.7.1
The problem
not necessarily noticing anything broken but I did see this in my logs today
This error originated from a custom integration.
Logger: custom_components.spook
Source: helpers/debounce.py:137
integration: Spook (documentation, issues)
First occurred: 3:50:19 PM (12 occurrences)
Last logged: 3:57:32 PM
Unexpected exception from <function AbstractSpookRepair.async_activate.<locals>._async_inspect at 0x7f854a889620>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/debounce.py", line 137, in _handle_timer_finish
await task
File "/config/custom_components/spook/repairs.py", line 158, in _async_inspect
await self.async_inspect()
File "/config/custom_components/spook/ectoplasms/script/repairs/unknown_entity_references.py", line 49, in async_inspect
entity_ids=entity.script.referenced_entities,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "src/propcache/_helpers_c.pyx", line 82, in propcache._helpers_c.cached_property.__get__
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1681, in referenced_entities
Script._find_referenced_entities(referenced_entities, self.sequence)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1710, in _find_referenced_entities
Script._find_referenced_entities(referenced, choice[CONF_SEQUENCE])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1698, in _find_referenced_entities
_referenced_extract_ids(data, ATTR_ENTITY_ID, referenced)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1406, in _referenced_extract_ids
found.add(item_id)
~~~~~~~~~^^^^^^^^^
TypeError: unhashable type: 'dict'
Anything in the logs? Paste it here!
Metadata
Metadata
Assignees
Labels
No labels