diff --git a/flexmeasures/cli/data_add.py b/flexmeasures/cli/data_add.py index 7cc87e8fa..6ced8d215 100755 --- a/flexmeasures/cli/data_add.py +++ b/flexmeasures/cli/data_add.py @@ -796,7 +796,7 @@ def create_forecasts( "--optimization-context-id", "optimization_context_sensor", type=SensorIdField(), - required=True, + required=False, help="To be deprecated. Use consumption-price-sensor instead.", ) @click.option(