mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
increase json buffer to allow HA MQTT for EMS-ESP
This commit is contained in:
@@ -503,7 +503,7 @@ void Mqtt::on_connect() {
|
|||||||
// homeassistant/sensor/ems-esp/status/config
|
// homeassistant/sensor/ems-esp/status/config
|
||||||
// all the values from the heartbeat payload will be added as attributes to the entity state
|
// all the values from the heartbeat payload will be added as attributes to the entity state
|
||||||
void Mqtt::ha_status() {
|
void Mqtt::ha_status() {
|
||||||
StaticJsonDocument<EMSESP_MAX_JSON_SIZE_SMALL> doc;
|
StaticJsonDocument<EMSESP_MAX_JSON_SIZE_HA_CONFIG> doc;
|
||||||
|
|
||||||
doc["name"] = F("EMS-ESP status");
|
doc["name"] = F("EMS-ESP status");
|
||||||
doc["uniq_id"] = F("status");
|
doc["uniq_id"] = F("status");
|
||||||
|
|||||||
Reference in New Issue
Block a user