diff --git a/incomfortclient/__init__.py b/incomfortclient/__init__.py index a5be243..70da414 100644 --- a/incomfortclient/__init__.py +++ b/incomfortclient/__init__.py @@ -202,7 +202,7 @@ async def heaters(self, force_refresh: bool = None) -> list[Heater]: try: heaters = dict(await self._get("heaterlist.json"))[HEATERLIST] - except aiohttp.ClientError as exc: + except (aiohttp.ClientError, UnicodeDecodeError) as exc: raise InvalidGateway(exc) from exc self._heaters = [