diff --git a/hc2mqtt b/hc2mqtt index 04000ec..98ec684 100755 --- a/hc2mqtt +++ b/hc2mqtt @@ -137,6 +137,7 @@ def hc2mqtt( global dev dev = {} + def client_connect(client, device, mqtt_topic): host = device["host"]