Merge branch 'main' into mqtt_lwt
This commit is contained in:
3
hc2mqtt
3
hc2mqtt
@@ -145,7 +145,7 @@ dev = {}
|
||||
|
||||
def client_connect(client, device, mqtt_topic):
|
||||
host = device["host"]
|
||||
device_topics = topics
|
||||
device_topics = topics.copy()
|
||||
|
||||
for value in device["features"]:
|
||||
if (
|
||||
@@ -213,6 +213,5 @@ def client_connect(client, device, mqtt_topic):
|
||||
|
||||
time.sleep(40)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
hc2mqtt()
|
||||
|
||||
Reference in New Issue
Block a user