AlexxIT / SonoffLAN

Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant
https://github.com/AlexxIT/Blog
MIT License
2.63k stars 410 forks source link

NSPanel run_forever error #919

Closed sipimokus closed 1 year ago

sipimokus commented 2 years ago

Hi Alexx!

I found error in debug messages, can you check it pls.?

2022-07-24 12:19:37 [D] 10XXXXXXXX <= Cloud3 | {'temperature': 28, 'humidity': 'blank', 'tempUnit': 0} | None
2022-07-24 12:19:37 [W] Cloud processing error|  File "/config/custom_components/sonoff/core/ewelink/cloud.py", line 286, in run_forever|    await self._process_ws_msg(resp)|TypeError: unsupported operand type(s) for &: 'NoneType' and 'ClimateEntityFeature'|
2022-07-24 12:19:38 [D] CLOUD True => True

I use the integration with AUTO mode. HASS: 2022.7.6 Plugin: v3.1.0

Update info: I don't set thermostat switch for NSPanel thermostat, don't use actually and don't will.

Thank you!

sipimokus commented 1 year ago

PR: https://github.com/AlexxIT/SonoffLAN/pull/964