Rename CmdSensor->CmdDevice to be more generic

as they actually controls both sensors and actuators.