mac-zhou / midea-msmart

This is a library to allow communicating to a Midea AC via the Local area network.
MIT License
147 stars 39 forks source link

fan_speed with other values than in enum #93

Open dokatomi opened 2 years ago

dokatomi commented 2 years ago

Hi,

I use my AC on 10%, 20% and 30% fan speeds, but if I query the status it shows the correct enum in case of 20% only. I checked, the enum doesn't contain the 10% and 30% values. Therefore it shows default Auto.

Can you pease correct it to show every percentage correctly?

kueblc commented 2 years ago

It would be silly to have 102 enum values, the raw int value should be exposed instead.

dokatomi commented 2 years ago

Hi, yes, maybe it will be a better solution. Or in case of enum every 10th. Br.