diff --git a/hc2mqtt.py b/hc2mqtt.py index b21718e..9d9a82a 100755 --- a/hc2mqtt.py +++ b/hc2mqtt.py @@ -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()