api for add sensor_type, sensor, devide_type, device