Skip to content

Commit 98dcf55

Browse files
committed
Fix wrong Awaitable type parameter for SetPowerActive
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 7325c98 commit 98dcf55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frequenz/client/microgrid/_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ async def set_power(self, component_id: int, power_w: float) -> None:
425425
"""
426426
try:
427427
await cast(
428-
Awaitable[PbSetPowerActiveParam],
428+
Awaitable[Empty],
429429
self.api.SetPowerActive(
430430
PbSetPowerActiveParam(component_id=component_id, power=power_w),
431431
timeout=int(DEFAULT_GRPC_CALL_TIMEOUT),

0 commit comments

Comments
 (0)