BeryJu / hass-auth-header

Home Assistant custom component, which allows you to delegate authentication to a reverse proxy.
GNU General Public License v3.0
219 stars 18 forks source link

:art: fix error from HA 2024.9+ #313

Closed shing6326 closed 2 months ago

shing6326 commented 2 months ago

Hello, the pull request fixes the warning below.


Detected that custom integration 'auth_header' 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/auth_header/__init__.py, line 73: hass.components.frontend.add_extra_js_url(hass, '/auth_header/store-token.js'), please report it to the author of the 'auth_header' custom integration```