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.68k stars 414 forks source link

NSPanel setting temperature almost works #1153

Open georgepauna opened 1 year ago

georgepauna commented 1 year ago

Using NSPanel climate entity (v3.5.1 +2 more commits in master): Setting temperature in ewelink is instantly visible in HA - good. Setting temperature in HA sends the new value to device - good (I can see in ewelink) but in HA temperature jumps back to previous value and doesn't update until integration is reloaded - bad.

AlexxIT commented 1 year ago

You need to collect debug logs for that moment

georgepauna commented 1 year ago

This happens when I change temp from 24 to 25 in HA thermostat card:

2023-03-31 20:15:25 [D] 10017ca626 => Cloud4 | {'ATCMode': 0, 'ATCExpect0': 25.0} | 1680282925000

This happens when I change temperature from 25 to 26 in ewelink:

2023-03-31 20:19:33 [D] 10017ca626 <= Cloud3 | {'ATCMode': 0, 'ATCExpect0': 26} | 1680283172939

Those are filtered by device id

AlexxIT commented 1 year ago

You can try latest master version