From f83b9f99bd31c2bb06febaaeed449f64fd91c515 Mon Sep 17 00:00:00 2001 From: nima1102 <66922878+nima-1102@users.noreply.github.com> Date: Sat, 26 Apr 2025 05:21:21 +0200 Subject: [PATCH] Update poollab.py Set ssl=True to force the ssl certificate verification --- custom_components/poollab/poollab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/poollab/poollab.py b/custom_components/poollab/poollab.py index 77eb828..7fc0ed5 100644 --- a/custom_components/poollab/poollab.py +++ b/custom_components/poollab/poollab.py @@ -260,7 +260,7 @@ async def _update(self, schema: str | None = None) -> bool: if schema is None: schema = self._build_schema() transport = AIOHTTPTransport( - url=self._url, headers={"Authorization": self._token} + url=self._url, headers={"Authorization": self._token}, ssl=True ) async with Client( transport=transport,