Adapted to changes in c4ctrl
This commit is contained in:
parent
a4310ec1c7
commit
e111f5df8c
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ def kitchentext(delay=200, single=False, wait=False, restore=False, poweron=Fals
|
||||||
|
|
||||||
# Store previous state
|
# Store previous state
|
||||||
if restore:
|
if restore:
|
||||||
c4 = C4Interface([kl.topic, kl.powertopic])
|
c4 = C4Interface()
|
||||||
safe = c4.pull()
|
safe = c4.pull([kl.topic, kl.powertopic])
|
||||||
|
|
||||||
try:
|
try:
|
||||||
stop = False
|
stop = False
|
||||||
|
|
Loading…
Reference in a new issue