pylabrobot.opentrons.OT2.set_rail_lights#

async OT2.set_rail_lights(on: bool) → None#

Turn the rail lights on or off. Needs a connection, not a run.

Parameters:

on (bool) – True for on, False for off.

Raises:

TypeError – If on is not a bool.

Return type:

None