Skip to content

Commit 737bed5

Browse files
committed
Update docstrings for max_amps in EVChargerPool.set_bounds method
Signed-off-by: Sahas Subramanian <[email protected]>
1 parent 837c087 commit 737bed5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/frequenz/sdk/timeseries/ev_charger_pool/_ev_charger_pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ async def set_bounds(self, component_id: int, max_amps: float) -> None:
173173
174174
Args:
175175
component_id: ID of EV Charger to set the current bounds to.
176-
max_amps: Current bound value to set for the EV Charger.
176+
max_amps: maximum current in amps, that an EV can draw from this EV Charger.
177177
"""
178178
if not self._bounds_setter:
179179
self._bounds_setter = BoundsSetter(self._repeat_interval)

src/frequenz/sdk/timeseries/ev_charger_pool/_set_current_bounds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async def set(self, component_id: int, max_amps: float) -> None:
5555
5656
Args:
5757
component_id: ID of EV Charger to set the current bounds to.
58-
max_amps: Current bound value to set for the EV Charger.
58+
max_amps: maximum current in amps, that an EV can draw from this EV Charger.
5959
"""
6060
await self._bounds_tx.send(ComponentCurrentLimit(component_id, max_amps))
6161

0 commit comments

Comments
 (0)