refactor: increased delay before sending data to MQTT after connection

This commit is contained in:
Yurii
2024-10-31 22:33:11 +03:00
parent 747d8841bc
commit 1dbc895cdb

View File

@@ -72,7 +72,7 @@ protected:
MqttWriter* writer = nullptr;
UnitSystem currentUnitSystem = UnitSystem::METRIC;
bool currentHomeAssistantDiscovery = false;
unsigned short readyForSendTime = 15000;
unsigned short readyForSendTime = 30000;
unsigned long lastReconnectTime = 0;
unsigned long connectedTime = 0;
unsigned long disconnectedTime = 0;