midea-msmart icon indicating copy to clipboard operation
midea-msmart copied to clipboard

Fix handling of missing temperature values

Open eranl opened this issue 2 years ago • 0 comments

Move test for missing temperature value from appliance.py to command.py, so it is performed on the raw payload. Currently, the test is performed on the value after conversion, so it never holds, and missing temp values result in a 102.5C temp. Also, change default temp values from 0 to None.

eranl avatar Sep 24 '22 22:09 eranl