There was an error while loading. Please reload this page.
1 parent d472f62 commit 16bf11bCopy full SHA for 16bf11b
1 file changed
src/frequenz/client/microgrid/_client.py
@@ -325,7 +325,7 @@ async def list_sensors( # noqa: DOC502 (raises ApiClientError indirectly)
325
Iterator whose elements are all the sensors in the local microgrid.
326
327
Raises:
328
- ApiClientError: If the are any errors communicating with the Microgrid API,
+ ApiClientError: If there are any errors communicating with the Microgrid API,
329
most likely a subclass of
330
[GrpcError][frequenz.client.microgrid.GrpcError].
331
"""
@@ -727,7 +727,7 @@ def receive_sensor_telemetry_stream(
727
lambda: aiter(
728
self.stub.ReceiveSensorTelemetryStream(
729
Request(
730
- sensor_id=_get_sensor_id(sensor),
+ sensor_id=sensor_id,
731
filter=Request.SensorTelemetryStreamFilter(
732
metrics=metrics_set
733
),
0 commit comments