From 8c0ba51e9bacc47611bc6c45ab28589d198ceadd Mon Sep 17 00:00:00 2001 From: Ralf Ramsauer Date: Sat, 6 Jun 2020 21:26:59 +0200 Subject: [PATCH] doorstate: publish state on startup Signed-off-by: Ralf Ramsauer --- doorstate | 1 + 1 file changed, 1 insertion(+) diff --git a/doorstate b/doorstate index 134861a..02134cc 100755 --- a/doorstate +++ b/doorstate @@ -149,6 +149,7 @@ global mqtt_connected mqtt_connected = False mqttc.loop_start() +publish_doorstate() while True: # Synchronous loop: GPIO