quick fix by adding a new field device_type in new_sensor_types