Arduino v7

This commit is contained in:
Proddy
2024-01-04 23:43:30 +01:00
parent 13a915e1f4
commit af237c4fc0
213 changed files with 3900 additions and 4479 deletions

View File

@@ -2905,8 +2905,8 @@ bool Thermostat::set_switchtime(const char * value, const uint16_t type_id, char
uint8_t time = 0x91; // invalid
if (value[0] == '{') {
StaticJsonDocument<EMSESP_JSON_SIZE_SMALL> doc;
DeserializationError error = deserializeJson(doc, value);
JsonDocument doc;
DeserializationError error = deserializeJson(doc, value);
if (error) {
return false;
}