Remove sensor arg from py_sensor