Support for "whenSensorGreaterThan"

Not all of "whenSensorGreaterThan" could be implemented, since video
motion hasn't been added yet.