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

Unexpected exception: lovelace.const.ConfigNotFound #173

Closed
frenck opened this issue May 26, 2023 · 1 comment · Fixed by #175
Closed

Unexpected exception: lovelace.const.ConfigNotFound #173

frenck opened this issue May 26, 2023 · 1 comment · Fixed by #175

Comments

@frenck
Copy link
Owner

frenck commented May 26, 2023

v0.13.37 raises the following error on my production machine:

Unexpected exception from <function AbstractSpookRepair.async_activate.<locals>._async_inspect at 0x7f4ba0ea20>
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/lovelace_unknown_entity_references.py", line 99, in async_inspect
    config = await dashboard.async_load(force=False)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/lovelace/dashboard.py", line 124, in async_load
    raise ConfigNotFound
homeassistant.components.lovelace.const.ConfigNotFound
@frenck
Copy link
Owner Author

frenck commented May 26, 2023

Hmmm that can be catched, but it seems like Spook is skipping the main dashboard for some reason... 🤔

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