adding getType:String to sensors