From 02b8326b804f42373bf29adbceb903045b7f61cc Mon Sep 17 00:00:00 2001 From: Alexey Zholtikov Date: Sat, 11 Feb 2023 08:42:57 +0300 Subject: [PATCH] Minor changes --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 10426c9..1e06e52 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -152,7 +152,11 @@ void onBroadcastReceiving(const char *data, const uint8_t *sender) { wasMqttAvailable = temp; if (temp) + { sendConfigMessage(); + sendAttributesMessage(); + sendStatusMessage(); + } } gatewayAvailabilityCheckTimer.once(15, gatewayAvailabilityCheckTimerCallback); }