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

Detected that custom integration 'browser_mod' accesses hass.components.frontend #690

Open
4 tasks done
holdestmade opened this issue Mar 4, 2024 · 12 comments
Open
4 tasks done

Comments

@holdestmade
Copy link

holdestmade commented Mar 4, 2024

My Home Assistant version: 2024.3.0b5

Error messages from the browser console:

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:156
First occurred: 4:14:27 pm (1 occurrences)
Last logged: 4:14:27 pm

Detected that custom integration 'browser_mod' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/browser_mod/mod_view.py, line 24: hass.components.frontend.async_register_built_in_panel(, please report it to the author of the 'browser_mod' custom integration

By replacing the space in the checkboxes ([ ]) with an X below, I indicate that I:

  • Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).

  • Have made sure I am using the latest version of the plugin.

  • Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.

  • Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.

@pejotigrek
Copy link

I can confirm that in stable 2024.3.0 the problem is also visible in log:

2024-03-07 00:42:30.798 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'browser_mod' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/browser_mod/mod_view.py, line 24: hass.components.frontend.async_register_built_in_panel(, please report it to the author of the 'browser_mod' custom integration

@DaN66O
Copy link

DaN66O commented Mar 7, 2024

I also confirm this

@RalfLuig
Copy link

RalfLuig commented Mar 8, 2024

I see the same Problem

@Destroyer061090
Copy link

same warning

IntExCZ added a commit to IntExCZ/hass-browser_mod that referenced this issue May 4, 2024
Fixes "Detected that custom integration 'browser_mod' accesses hass.components.frontend" in HA log.
@IntExCZ
Copy link

IntExCZ commented May 4, 2024

Fixed by pull request: #705

@foxsam21
Copy link

does that also fix this (hass.helpers.storage) warning?

Detected that custom integration 'browser_mod' accesses hass.helpers.storage. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from storage directly at custom_components/browser_mod/store.py, line 94: self.store = hass.helpers.storage.Store(STORAGE_VERSION, STORAGE_KEY), please report it to the author of the 'browser_mod' custom integration

@IntExCZ
Copy link

IntExCZ commented May 13, 2024

does that also fix this (hass.helpers.storage) warning?

Detected that custom integration 'browser_mod' accesses hass.helpers.storage. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from storage directly at custom_components/browser_mod/store.py, line 94: self.store = hass.helpers.storage.Store(STORAGE_VERSION, STORAGE_KEY), please report it to the author of the 'browser_mod' custom integration

No, but another fix will...

@IntExCZ
Copy link

IntExCZ commented May 13, 2024

does that also fix this (hass.helpers.storage) warning?

Detected that custom integration 'browser_mod' accesses hass.helpers.storage. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from storage directly at custom_components/browser_mod/store.py, line 94: self.store = hass.helpers.storage.Store(STORAGE_VERSION, STORAGE_KEY), please report it to the author of the 'browser_mod' custom integration

How can be this warning message reproduced?
What is the version of HA?

@foxsam21
Copy link

Detected that custom integration 'browser_mod' accesses hass.helpers.storage. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from storage directly at custom_components/browser_mod/store.py, line 94: self.store = hass.helpers.storage.Store(STORAGE_VERSION, STORAGE_KEY), please report it to the author of the 'browser_mod' custom integration

How can be this warning message reproduced? What is the version of HA?

2024.5.2
not sure on how to reproduce, I don't know what is causing it. for me its in the logs whenever i restart HA.

@IntExCZ
Copy link

IntExCZ commented May 14, 2024

@foxsam21
I am, for fail-safe reasons, one major version back (2024.4.4) so when I upgrade to 2024.5.2+ (when the 2024.6.0 releases), I will try to fix that ASAP.

@IntExCZ
Copy link

IntExCZ commented Jun 7, 2024

does that also fix this (hass.helpers.storage) warning?

Detected that custom integration 'browser_mod' accesses hass.helpers.storage. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from storage directly at custom_components/browser_mod/store.py, line 94: self.store = hass.helpers.storage.Store(STORAGE_VERSION, STORAGE_KEY), please report it to the author of the 'browser_mod' custom integration

@foxsam21
Fixed by pull request: #710

@IntExCZ
Copy link

IntExCZ commented Jun 7, 2024

Entity None (<class 'custom_components.browser_mod.media_player.BrowserModPlayer'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.PAUSE|SEEK|VOLUME_SET|VOLUME_MUTE|TURN_ON|TURN_OFF|PLAY_MEDIA|STOP|PLAY|BROWSE_MEDIA: 152463>, please report it to the author of the 'browser_mod' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Fixed by pull request: #711

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

7 participants