Adapted to changes in c4ctrl

This commit is contained in:
Shy 2017-04-08 16:27:37 +02:00
parent a4310ec1c7
commit e111f5df8c

View file

@ -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