remove accidental print

This commit is contained in:
Ruben van de Ven 2019-06-14 15:57:33 +02:00
parent 8a3b8e070b
commit 5af386212e

View file

@ -251,7 +251,6 @@ class CentralCommand(object):
statusses = [hv.isAvailable() for hv in self.hugveys.values()] statusses = [hv.isAvailable() for hv in self.hugveys.values()]
lightOn = True not in statusses lightOn = True not in statusses
lightCode = 1 if lightOn else 0 lightCode = 1 if lightOn else 0
print("LIGHT", lightCode)
if lightCode != currentCode: if lightCode != currentCode:
self.commandLight('/red', [lightCode]) self.commandLight('/red', [lightCode])
currentCode = lightCode currentCode = lightCode