Skip to content

Get schedule in any compatible unit #1992

@Flix6x

Description

@Flix6x

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions