flexmeasures
flexmeasures copied to clipboard
[CLI] Support passing the `soc-minima`, `soc-maxima` and `soc-targets` as sensors in the `flexmeasures add schedule for-storage`
PR https://github.com/FlexMeasures/flexmeasures/pull/996 introduced the possibility of defnining the soc-maxima
, soc-minima
and soc-targets
as sensors via the API. Currently, the CLI command flexmeasures add schedule for-storage
doesn't support defining any of these fields given the complexity of the resulting command (inline JSON string).
However, with the capabilities that introduced PR https://github.com/FlexMeasures/flexmeasures/pull/996, we could support passing a sensor ID to define these fields easily.