From a0783df2e5426118599edc50bfd0466b1b0f0716 Mon Sep 17 00:00:00 2001 From: Hmmbob <33529490+hmmbob@users.noreply.github.com> Date: Thu, 11 Jul 2024 14:30:35 +0200 Subject: [PATCH] Styling --- custom_components/webrtc/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/webrtc/__init__.py b/custom_components/webrtc/__init__.py index 35ce8c5..39de61e 100644 --- a/custom_components/webrtc/__init__.py +++ b/custom_components/webrtc/__init__.py @@ -61,6 +61,7 @@ HLS_COOKIE = "webrtc-hls-session" HLS_SESSION = str(uuid.uuid4()) + async def async_setup(hass: HomeAssistant, config: dict): # 1. Serve lovelace card path = Path(__file__).parent / "www" @@ -342,4 +343,4 @@ async def get(self, request: web.Request, filename: str): raise HTTPNotFound() body = await r.read() - return web.Response(body=body, content_type=r.content_type) \ No newline at end of file + return web.Response(body=body, content_type=r.content_type)