use new SIZES and optimize for new uuid

This commit is contained in:
Proddy
2023-01-05 15:09:07 +01:00
parent 68ebe55ca4
commit 1ec00bceed
2 changed files with 32 additions and 28 deletions

View File

@@ -150,7 +150,7 @@ void Shower::set_shower_state(bool state, bool force) {
if ((Mqtt::ha_enabled()) && (!ha_configdone_ || force)) {
ha_configdone_ = true;
StaticJsonDocument<EMSESP_JSON_SIZE_HA_CONFIG> doc;
StaticJsonDocument<EMSESP_JSON_SIZE_LARGE> doc;
doc["name"] = "Shower Active";