Skip to content

Commit

Permalink
Add changelog entries
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
  • Loading branch information
victorgarcia98 committed Mar 7, 2024
1 parent 94c4042 commit 7ff134c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 6 additions & 0 deletions documentation/api/change_log.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ API change log

.. note:: The FlexMeasures API follows its own versioning scheme. This is also reflected in the URL (e.g. `/api/v3_0`), allowing developers to upgrade at their own pace.


v3.0-18 | 2024-03-07
""""""""""""""""""""
- Add support for providing a sensor definition to the ``soc-minima``, ``soc-maxima`` and ``sox-targets`` flex-model fields for `/sensors/<id>/schedules/trigger` (POST).


v3.0-17 | 2024-02-26
""""""""""""""""""""

Expand Down
2 changes: 1 addition & 1 deletion documentation/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ New features

* Add command ``flexmeasures edit transfer-ownership`` to transfer the ownership of an asset and its children from one account to another[see `PR #983 <https://github.com/FlexMeasures/flexmeasures/pull/983>`_]
* Support defining the ``site-power-capacity``, ``site-consumption-capacity`` and ``site-production-capacity`` as a sensor in the API and CLI [see `PR #985 <https://github.com/FlexMeasures/flexmeasures/pull/985>`_]

* Support defining the ``soc-minima``, ``soc-maxima`` and ``soc-targets`` as sensors in the API [see `PR #996 <https://github.com/FlexMeasures/flexmeasures/pull/996>`_]

Infrastructure / Support
----------------------
Expand Down
8 changes: 1 addition & 7 deletions flexmeasures/api/v3_0/sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,7 @@ def trigger_schedule(
"datetime": "2015-06-02T16:00:00+00:00"
},
],
"soc-minima": [
{
"value": 15,
"start": "2015-06-02T14:00:00+00:00",
"end": "2015-06-02T15:00:00+00:00"
}
],
"soc-minima": {"sensor" : 300},
"soc-min": 10,
"soc-max": 25,
"charging-efficiency": "120%",
Expand Down

0 comments on commit 7ff134c

Please sign in to comment.