changed sensor.classify to include the name