sensors: fix up the class arguments
sensors: fix up argument parsing