added get_sensors_by_type