[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2024-03-26 22:50:08 +00:00
parent 935543f81a
commit cc3dc538a3
3 changed files with 16 additions and 10 deletions

View File

@@ -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()