diff --git a/custom_components/ryobi_gdo/api.py b/custom_components/ryobi_gdo/api.py index 03773e2..eb0f078 100644 --- a/custom_components/ryobi_gdo/api.py +++ b/custom_components/ryobi_gdo/api.py @@ -530,6 +530,11 @@ async def running(self): await RyobiWebSocket.state.fset(self, STATE_STOPPED) else: if self._state != STATE_STOPPED: + LOGGER.debug( + "Websocket msgType: %s CloseCode: %s", + aiohttp.WSMsgType, + aiohttp.WSCloseCode, + ) await RyobiWebSocket.state.fset(self, STATE_DISCONNECTED) await asyncio.sleep(5)