devices, json-ha-config

This commit is contained in:
MichaelDvP
2020-11-18 10:17:57 +01:00
parent d41cb6eda2
commit cf3728759e
3 changed files with 3 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ void Heatpump::register_mqtt_ha_config() {
}
// Create the Master device
StaticJsonDocument<EMSESP_MAX_JSON_SIZE_SMALL> doc;
StaticJsonDocument<EMSESP_MAX_JSON_SIZE_HA_CONFIG> doc;
doc["name"] = F_(EMSESP);
doc["uniq_id"] = F_(heatpump);
doc["ic"] = F_(iconheatpump);