Skip to content

Commit cec998a

Browse files
committed
Fix missing send-callback
1 parent be32b32 commit cec998a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugwise_usb/network/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,9 @@ async def set_measure_interval(self, consumption: int, production: int) -> None:
548548
For measuring in both directions set both to 60.
549549
"""
550550
_LOGGER.debug("set_measure_interval | cons=%s, prod=%s", consumption, production)
551-
request = CircleMeasureIntervalRequest(self, consumption, production)
551+
request = CircleMeasureIntervalRequest(
552+
self._controller.send, consumption, production
553+
)
552554
if (response := await request.send()) is None:
553555
raise NodeError("No response for CircleMeasureIntervalRequest.")
554556

0 commit comments

Comments
 (0)