From 3072b7d20392866912f726212e7d1f2c064b7500 Mon Sep 17 00:00:00 2001 From: Fisch Date: Sat, 19 Aug 2023 11:37:08 +0200 Subject: [PATCH] add var declaration --- src/controller.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controller.py b/src/controller.py index f1309f3..52bb505 100644 --- a/src/controller.py +++ b/src/controller.py @@ -39,6 +39,8 @@ class Controller: mqtthost = None mqttport = None + last_reconnectTry=0 + def __init__(self, base_topic, mqtt_host, mqtt_port = 1883):