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

@@ -166,7 +166,7 @@ void Mixer::register_mqtt_ha_config() {
}
// Create the Master device
StaticJsonDocument<EMSESP_MAX_JSON_SIZE_MEDIUM> doc;
StaticJsonDocument<EMSESP_MAX_JSON_SIZE_HA_CONFIG> doc;
char name[20];
snprintf_P(name, sizeof(name), PSTR("Mixer %02X"), device_id() - 0x20 + 1);