The endpoint for fetching a schedule for a given sensor, should accept a "unit" field, which should use our unit_utils.py to convert the schedule from the sensor unit to the desired unit.
The PR should include test coverage for the new feature. I imagine updating an existing API test suffices.
This feature will help support FlexMeasures/flexmeasures-client#67
The endpoint for fetching a schedule for a given sensor, should accept a
"unit"field, which should use our unit_utils.py to convert the schedule from the sensor unit to the desired unit.The PR should include test coverage for the new feature. I imagine updating an existing API test suffices.
This feature will help support FlexMeasures/flexmeasures-client#67