Fix pragbotSensor so that it works with pragbot_client