finish sensor add and delete, noticing the sensorType must be included in the deivce