pylabrobot.only_fans.fan.Fan.turn_on#

async Fan.turn_on(intensity: int, duration=None)#

Run the fan

Parameters:
  • intensity (int) – integer percent between 0 and 100

  • duration – time to run the fan for. If None, run until turn_off is called.