1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-20 00:35:44 +00:00

Receive long MQTT payload (#1590)

This commit is contained in:
Gareth Cooper
2021-04-08 13:26:34 +01:00
committed by GitHub
parent eaf9735eda
commit e6f8e73705
2 changed files with 12 additions and 3 deletions

View File

@@ -259,6 +259,7 @@ class MQTTClientComponent : public Component {
};
std::string topic_prefix_{};
MQTTMessage log_message_;
std::string payload_buffer_;
int log_level_{ESPHOME_LOG_LEVEL};
std::vector<MQTTSubscription> subscriptions_;