mirror of
https://github.com/thekiwismarthome/shopping-list-manager.git
synced 2026-05-01 11:46:30 +00:00
Update __init__.py
This commit is contained in:
@@ -155,12 +155,9 @@ async def _async_register_websocket_handlers(
|
|||||||
|
|
||||||
async def _async_register_frontend(hass: HomeAssistant) -> None:
|
async def _async_register_frontend(hass: HomeAssistant) -> None:
|
||||||
"""Register frontend resources."""
|
"""Register frontend resources."""
|
||||||
# Register the custom card
|
# Since frontend is a separate HACS module, we don't need to register it here
|
||||||
hass.http.register_static_path(
|
# The frontend card registers itself independently
|
||||||
f"/hacsfiles/{DOMAIN}",
|
_LOGGER.debug("Frontend resources skipped (separate HACS module)")
|
||||||
hass.config.path(f"custom_components/{DOMAIN}/www"),
|
|
||||||
True,
|
|
||||||
)
|
|
||||||
|
|
||||||
_LOGGER.debug("Frontend resources registered")
|
_LOGGER.debug("Frontend resources registered")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user