Fixed typo.

This commit is contained in:
Shy 2024-03-16 18:30:13 +01:00
parent d203c540a9
commit 3b00744568

View file

@ -42,7 +42,8 @@ from random import choice # for client_id generation.
class C4Interface: # {{{1 class C4Interface: # {{{1
""" Interaction with AutoC4, the C4 home automation system. """ """ 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 port = 1883
qos = 0 qos = 0
retain = True retain = True
@ -1091,7 +1092,7 @@ is reserved. Please choose a different one.".format(name))
else: else:
color = color[:6] + ' ' + color[6:] color = color[:6] + ' ' + color[6:]
topic = light.topic.ljust(max_topic_len) 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): if self._topic_is_master(r.topic):
fd.write("#{} = {}\n".format(topic, color)) fd.write("#{} = {}\n".format(topic, color))
else: else: