[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -139,6 +139,7 @@ def hc2mqtt(
|
||||
global dev
|
||||
dev = {}
|
||||
|
||||
|
||||
def client_connect(client, device, mqtt_topic):
|
||||
host = device["host"]
|
||||
name = device["name"]
|
||||
@@ -201,5 +202,6 @@ def client_connect(client, device, mqtt_topic):
|
||||
|
||||
time.sleep(57)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
hc2mqtt()
|
||||
|
||||
Reference in New Issue
Block a user