Skip to content

Commit a2fdd05

Browse files
committed
fix: add callb parameter to set64
Signed-off-by: Avi Miller <me@dje.li>
1 parent bcdcbb6 commit a2fdd05

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

aiolifx/aiolifx.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1824,6 +1824,8 @@ def set64(
18241824
:type duration: int
18251825
:param colors: up to 64 color tuples to apply to the target zones
18261826
:type colors: list[tuple[int, float, float, int]]
1827+
:param callb: Callable to be used when the response is received.
1828+
:type callb: callable
18271829
:rtype: None
18281830
"""
18291831

@@ -1850,7 +1852,7 @@ def set64(
18501852
"colors": colors,
18511853
}
18521854

1853-
self.req_with_ack(TileSet64, payload)
1855+
self.req_with_ack(TileSet64, payload, callb=callb)
18541856

18551857
def copy_frame_buffer(
18561858
self,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# -*- coding:utf-8 -*-
33
import setuptools
44

5-
version = "1.2.0"
5+
version = "1.2.1"
66

77
with open("README.md", "r") as fh:
88
long_description = fh.read()

0 commit comments

Comments
 (0)