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

Latest HA dev breaks browser_mod #796

Open
tbrasser opened this issue Jan 24, 2025 · 4 comments
Open

Latest HA dev breaks browser_mod #796

tbrasser opened this issue Jan 24, 2025 · 4 comments

Comments

@tbrasser
Copy link

tbrasser commented Jan 24, 2025

Logger: homeassistant.config_entries
Bron: config_entries.py:637
Eerst voorgekomen: 08:55:39 (1 gebeurtenissen)
Laatst gelogd: 08:55:39

Error setting up entry Browser Mod for browser_mod
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 637, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/browser_mod/__init__.py", line 43, in async_setup_entry
    await async_setup_view(hass)
  File "/config/custom_components/browser_mod/mod_view.py", line 59, in async_setup_view
    resources = hass.data["lovelace"]["resources"]
                ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
TypeError: 'LovelaceData' object is not subscriptable

could it be this: home-assistant/core#136327 ?

@tbrasser
Copy link
Author

FYI hacs/integration#4402

@epenet
Copy link

epenet commented Jan 27, 2025

Compatiblity code to avoid breaking changes implemented in home-assistant/core#136617

@cedricdelecole
Copy link

I m not sure to understand ... I also have the issue where Browser mod is just not providing entities anymore, and menu on the left shows an empty page ...

Do we just need to wait for an update ?

Many Thanks !!

@tbrasser
Copy link
Author

That's a different issue then, dev versions work for me again an browser_mod loads fine

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

No branches or pull requests

3 participants