fix parsing sensors from yaml file, sensor_id should be optional