jghaanstra / com.xiaomi-miio

Homey app to control Mi Home devices that implement the miIO protocol and Xiaomi gateway child devices
GNU General Public License v3.0
456 stars 85 forks source link

Corrected mode set_properties for airp_meb1 (Elite Smart Air Purifier) #243

Closed thomaswitt closed 1 year ago

thomaswitt commented 1 year ago

In the spec for the Elite Purifier, the Mode is PIID 4 (0 - Auto // 1 - Sleep // 2 - Favorite // 3 - Manual), but in the code it was mapped to PIID 5 (Line 243 for the set_properties method, whereas the getter method is correct.

jghaanstra commented 1 year ago

Merged manually locally.