From e1d74e98eb1e6d0d0c2368debdb20e7612d4b49b Mon Sep 17 00:00:00 2001 From: Alexey Zholtikov Date: Sat, 11 Feb 2023 08:41:56 +0300 Subject: [PATCH] Minor changes --- src/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 25daf78..3d58504 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -179,6 +179,12 @@ void onBroadcastReceiving(const char *data, const uint8_t *sender) sendConfigMessage(); if (sensorPin) sendConfigMessage(sensorType); + sendAttributesMessage(); + if (sensorPin) + sendAttributesMessage(sensorType); + sendStatusMessage(); + if (sensorPin) + sendStatusMessage(sensorType); } } gatewayAvailabilityCheckTimer.once(15, gatewayAvailabilityCheckTimerCallback);