def _do_http_request(self, url, body, headers):
try:
return await self._do_http_request_impl(url, body, headers)
except asyncio.TimeoutError:
raise PyVLXException("Request timeout when talking to VELUX API")
except aiohttp.ClientError:
raise PyVLXException("HTTP error when talking to VELUX API")
except OSError:
raise PyVLXException("OS error when talking to VELUX API")
评论列表
文章目录