Closed emontnemery closed 2 weeks ago
The reason this is here is because nothing in core is using it, so there is a high chance it will just be removed.
custom_components/hacs/frontend.py (1)
`8-11`: The import changes streamline the module imports by removing the previous try-except block. This change enhances readability and maintainability as it assumes the presence of `add_extra_js_url`, which has been part of Home Assistant for over five years. Ensure that this assumption is safe across all supported versions of Home Assistant to avoid runtime errors.
Remove compatibility with core without
frontend.add_extra_js_url
Rationale: frontend.add_extra_js_url was added 5 years ago in PR https://github.com/home-assistant/core/pull/24675