Fixed typo.
This commit is contained in:
parent
d203c540a9
commit
3b00744568
1 changed files with 3 additions and 2 deletions
|
@ -42,7 +42,8 @@ from random import choice # for client_id generation.
|
|||
class C4Interface: # {{{1
|
||||
""" Interaction with AutoC4, the C4 home automation system. """
|
||||
|
||||
broker = "autoc4.labor.koeln.ccc.de"
|
||||
#broker = "autoc4.labor.koeln.ccc.de"
|
||||
broker = "172.23.23.110"
|
||||
port = 1883
|
||||
qos = 0
|
||||
retain = True
|
||||
|
@ -1091,7 +1092,7 @@ is reserved. Please choose a different one.".format(name))
|
|||
else:
|
||||
color = color[:6] + ' ' + color[6:]
|
||||
topic = light.topic.ljust(max_topic_len)
|
||||
# Out comment master, as it would override everything else.
|
||||
# Comment out master, as it would override everything else.
|
||||
if self._topic_is_master(r.topic):
|
||||
fd.write("#{} = {}\n".format(topic, color))
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue