custom_components/bahmcloud_store/views.py aktualisiert

This commit is contained in:
2026-01-15 06:15:36 +00:00
parent 124693e545
commit 15349d93a2

View File

@@ -1,11 +1,13 @@
from __future__ import annotations
from pathlib import Path
from typing import TYPE_CHECKING
from aiohttp import web
from homeassistant.components.http import HomeAssistantView
from .core import BCSCore
if TYPE_CHECKING:
from .core import BCSCore
class StaticAssetsView(HomeAssistantView):
@@ -49,7 +51,7 @@ class BCSApiView(HomeAssistantView):
name = "bcs_api"
url = "/api/bcs"
def __init__(self, core: BCSCore) -> None:
def __init__(self, core: "BCSCore") -> None:
self.core = core
async def get(self, request):