Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'AutomationEntity' object has no attribute 'script' #194

Closed
holdestmade opened this issue Jun 2, 2023 · 0 comments · Fixed by #196
Closed

AttributeError: 'AutomationEntity' object has no attribute 'script' #194

holdestmade opened this issue Jun 2, 2023 · 0 comments · Fixed by #196

Comments

@holdestmade
Copy link

holdestmade commented Jun 2, 2023

And another. This one only occurred on startup

Logger: custom_components.spook
Source: custom_components/spook/repairs/automation_unknown_area_references.py:34
Integration: Spook (documentation, issues)
First occurred: 09:29:35 (1 occurrences)
Last logged: 09:29:35

Unexpected exception from <function AbstractSpookRepair.async_activate.._async_inspect at 0xffff4c76e0e0>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/debounce.py", line 117, in _handle_timer_finish
await task
File "/config/custom_components/spook/repairs/init.py", line 130, in _async_inspect
await self.async_inspect()
File "/config/custom_components/spook/repairs/automation_unknown_area_references.py", line 34, in async_inspect
for area in entity.script.referenced_areas - areas
AttributeError: 'AutomationEntity' object has no attribute 'script'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant