ParentFull threadpositivecomment·Exactly, the function should not be responsible to see if robot.action has any existing value. It should just return an action depending on the state.View on HN