Add an action to switch on a sensor value
Add the scan action for Prehistobot