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

Revert "fix enm to list" #95

Closed mill1000 closed 1 year ago

mill1000 commented 2 years ago

This reverts commit 06167aba8566b3b5d0d013bcb911ced582363997. Commit 06167aba8566b3b5d0d013bcb911ced582363997 was a breaking change for mac-zhou/midea-ac-py.

Close #90, and close mac-zhou/midea-ac-py#186 (also noted in mac-zhou/midea-ac-py#183).

I do think it's a little odd to return strings instead of the enum types, but it makes the behavior consistent with other usages like fan_speed_enum.list() and operational_mode_enum.list()

mill1000 commented 1 year ago

Closing in favor of developing my own fork: mill1000/midea-msmart