miio/lib/devices/dreamevacuum.js
/**
   * Set the power of the fan.
   * From https://github.com/rytilahti/python-miio/blob/20f915c9589fed55544a5417abe3fd3d9e12d08d/miio/viomivacuum.py#L16-L20
   * class ViomiVacuumSpeed(Enum):
   *   Silent = 0
   *   Standard = 1
   *   Strong = 2
   *   Turbo = 3
   */
Set the power of the fan.
Set the power of the fan .
changeFanSpeed(speed) {
    return this.set_property(18, 6, speed, {
      refresh: ["fanSpeed"],
    }).then(checkResult);
  }
changeFanSpeed ( speed ) { return this . set_property ( 18 , 6 , speed , { refresh : [ "fanSpeed" ] , } ) . then ( checkResult ) ; }
Set the power of the fan.
Set the power of the fan .