Skip to content

Commit 7e77a18

Browse files
committed
Update RELEASE_NOTES.md about BatteryPool interface changes
Signed-off-by: Sahas Subramanian <[email protected]>
1 parent b194674 commit 7e77a18

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

RELEASE_NOTES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ This release drops support for Python versions older than 3.11.
1616

1717
* Now `frequenz.sdk.timeseries.Sample` uses a more sensible comparison. Before this release `Sample`s were compared only based on the `timestamp`. This was due to a limitation in Python versions earlier than 3.10. Now that the minimum supported version is 3.11 this hack is not needed anymore and `Sample`s are compared using both `timestamp` and `value` as most people probably expects.
1818

19+
* `BatteryPool` metric streaming interfaces have changed for `soc`, `capacity` and `power_bounds`:
20+
21+
```python
22+
soc_rx = battery_pool.soc() # old
23+
24+
soc_rx = battery_pool.soc.new_receiver() # new
25+
```
26+
1927
## New Features
2028

2129
<!-- Here goes the main new features and examples or instructions on how to use them -->

0 commit comments

Comments
 (0)