midea-msmart
midea-msmart copied to clipboard
Fix handling of missing temperature values
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.