From f608ab499142549c3e9847668f20bf6ad423b9ca Mon Sep 17 00:00:00 2001 From: SchiZzA Date: Fri, 6 Feb 2026 18:14:02 +0100 Subject: [PATCH] Remove verify_ssl=False from async_get_clientsession calls --- custom_components/sws12500/pocasti_cz.py | 2 +- custom_components/sws12500/windy_func.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/sws12500/pocasti_cz.py b/custom_components/sws12500/pocasti_cz.py index 859de40..5fbe7f9 100644 --- a/custom_components/sws12500/pocasti_cz.py +++ b/custom_components/sws12500/pocasti_cz.py @@ -117,7 +117,7 @@ class PocasiPush: _data["PASSWORD"] = _api_key request_url = f"{POCASI_CZ_URL}{DEFAULT_URL}" - session = async_get_clientsession(self.hass, verify_ssl=False) + session = async_get_clientsession(self.hass) _LOGGER.debug( "Payload for Pocasi Meteo server: [mode=%s] [request_url=%s] = %s", mode, diff --git a/custom_components/sws12500/windy_func.py b/custom_components/sws12500/windy_func.py index aed6cb5..e2fba0c 100644 --- a/custom_components/sws12500/windy_func.py +++ b/custom_components/sws12500/windy_func.py @@ -165,7 +165,7 @@ class WindyPush: if self.log: _LOGGER.info("Dataset for windy: %s", purged_data) - session = async_get_clientsession(self.hass, verify_ssl=False) + session = async_get_clientsession(self.hass) try: async with session.get( request_url, params=purged_data, headers=headers