diff --git a/custom_components/minrenovasjon/__init__.py b/custom_components/minrenovasjon/__init__.py index f53b58e..a1b630b 100644 --- a/custom_components/minrenovasjon/__init__.py +++ b/custom_components/minrenovasjon/__init__.py @@ -93,7 +93,9 @@ async def query( session = async_get_clientsession(self.__hass) if url.startswith('https://komteksky'): - url = urllib.parse.quote(url) + url = const.URL_PROXY.format(urllib.parse.quote(url)) + + _LOGGER.info("URL:%s", url) async with session.get( url, headers=headers, timeout=aiohttp.ClientTimeout(total=60)