diff --git a/custom_components/meshtastic/meshtastic_web/__init__.py b/custom_components/meshtastic/meshtastic_web/__init__.py index d5e118d..ab02ccc 100644 --- a/custom_components/meshtastic/meshtastic_web/__init__.py +++ b/custom_components/meshtastic/meshtastic_web/__init__.py @@ -240,7 +240,7 @@ async def get( request: HomeAssistantRequest, # noqa: ARG002 entity_id: str, ) -> web.Response: - if not entity_id.startswith("gateway_"): + if not entity_id.startswith("gateway"): return web.FileResponse(Path(__file__).parent / "static" / entity_id, headers={"Cache-Control": "no-cache"}) entity_registry = er.async_get(self._hass)