From 8b9caf045eaba4a54b4e39f59a26978e2e69bdf4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 20 Mar 2024 23:41:08 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- hc2mqtt | 1 + 1 file changed, 1 insertion(+) diff --git a/hc2mqtt b/hc2mqtt index 06607dd..7e42737 100755 --- a/hc2mqtt +++ b/hc2mqtt @@ -213,5 +213,6 @@ def client_connect(client, device, mqtt_topic): time.sleep(40) + if __name__ == "__main__": hc2mqtt()