SonoffLAN
SonoffLAN copied to clipboard
Cloud WS exception
I've got the following error in the HA log:
This error originated from a custom integration.
Logger: custom_components.sonoff.core.ewelink.cloud
Source: custom_components/sonoff/core/ewelink/cloud.py:562
integration: Sonoff (documentation, issues)
First occurred: 21:00:38 (1 occurrences)
Last logged: 21:00:38
Cloud WS exception
Traceback (most recent call last):
File "/config/custom_components/sonoff/core/ewelink/cloud.py", line 562, in connect
resp = await self.ws.receive_json()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_ws.py", line 407, in receive_json
data = await self.receive_str(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_ws.py", line 388, in receive_str
raise WSMessageTypeError(
f"Received message {msg.type}:{msg.data!r} is not WSMsgType.TEXT"
)
aiohttp.client_exceptions.WSMessageTypeError: Received message 8:1000 is not WSMsgType.TEXT
First appearance was after I've updated the HA OS to v15.1.