SonoffLAN icon indicating copy to clipboard operation
SonoffLAN copied to clipboard

Exception on CK-BL602-SWP1-01

Open L4ky opened this issue 3 years ago • 0 comments

Hi, today i added 3 smart switch with energy monitoring (CK-BL602-SWP1-01) to my eWelink account. They've been updated to last firmware.

Reloaded the SonoffLAN component and it found 3 new entities.

They do not work since they raise an exception. Here is the exception, got from debug mode. No other relevant messages about SonoffLAN component.

I'm using SonoffLAN 3.5.1 in local mode.

2023-04-21 10:47:11.629 ERROR (MainThread) [custom_components.sonoff.core.ewelink.cloud] SONOFF_ID=> Cloud4 | {'ATCMode': 0, 'ATCExpect0': 29.0} | 1682066831000
Traceback (most recent call last):
  File "/config/custom_components/sonoff/core/ewelink/cloud.py", line 240, in send
    await self.ws.send_json(payload)
AttributeError: 'NoneType' object has no attribute 'send_json'

L4ky avatar Apr 21 '23 13:04 L4ky