mrin / domoticz-mirobot-plugin

Xiaomi Mi Robot Vacuum plugin for Domoticz
57 stars 28 forks source link

Fan Level don't work #32

Open szygmon opened 3 years ago

szygmon commented 3 years ago

Fan level don't work - only balanced work after switch button.

szygmon commented 3 years ago

How to fix it: line 186: level = {101: 10, 102: 20, 103: 30, 104: 40}.get(result['fan_level'], None) line 257: num_level = {10: 101, 20: 102, 30: 103, 40: 104}.get(Level, None)

Levels are changed to 101, 102, 103, 104