Skip to content

Commit 17ab29c

Browse files
committed
Pass mac as bytes
1 parent 06c61d2 commit 17ab29c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise_usb/network/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ async def set_measure_interval(
551551
"""
552552
_LOGGER.debug("set_measure_interval | cons=%s, prod=%s", consumption, production)
553553
request = CircleMeasureIntervalRequest(
554-
self._controller.send, mac, consumption, production
554+
self._controller.send, bytes(mac, UTF8), consumption, production
555555
)
556556
response = await request.send()
557557
_LOGGER.debug("set_measure_interval | cons=%s", response)

0 commit comments

Comments
 (0)