[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-05-13 17:41:20 +00:00
parent 7c0fc9d01d
commit 4a7f15acf9

View File

@@ -135,7 +135,9 @@ def hc2mqtt(
for device in devices:
mqtt_topic = mqtt_prefix + device["name"]
thread = Thread(target=client_connect, args=(client, device, mqtt_topic, domain_suffix, debug))
thread = Thread(
target=client_connect, args=(client, device, mqtt_topic, domain_suffix, debug)
)
thread.start()
client.loop_forever()