Fans#

from pylabrobot.only_fans import Fan
from pylabrobot.only_fans import HamiltonHepaFan
fan = Fan(backend=HamiltonHepaFan(), name="my fan")
await fan.setup()

Running for 60 seconds:

await fan.turn_on(intensity=100, duration=60)

Running until stop:

await fan.turn_on(intensity=100)
await fan.turn_off()