syssi / xiaomi_airpurifier

Xiaomi Mi Air Purifier and Xiaomi Mi Air Humidifier integration for Home Assistant
Apache License 2.0
456 stars 113 forks source link

dmaker.airfresh.t2017: different names for same mode - "favorite" & "favourite" #215

Open ildar170975 opened 3 years ago

ildar170975 commented 3 years ago

dmaker.airfresh.t2017:

"Developer tools": the mode is called favourite but in "Preset modes" it is called Favorite: image So, the fan.set_preset_mode service also accepts the favorite value instead of favourite. Should be ONE same value - preferably favourite.

ildar170975 commented 3 years ago

Same thing about a property name: favorite_speed

syssi commented 2 years ago

This is in issue of the underlying library and hard to fix without a breaking change: https://github.com/rytilahti/python-miio/blob/master/miio/airfresh_t2017.py