mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
Use warning level for scheduler command fails
This commit is contained in:
@@ -1880,6 +1880,7 @@ bool Thermostat::set_remotetemp(const char * value, const int8_t id) {
|
|||||||
} else {
|
} else {
|
||||||
hc->remotetemp = EMS_VALUE_INT16_NOTSET;
|
hc->remotetemp = EMS_VALUE_INT16_NOTSET;
|
||||||
Roomctrl::set_remotetemp(0, hc->hc(), EMS_VALUE_INT16_NOTSET); // unknown remote set, switch off
|
Roomctrl::set_remotetemp(0, hc->hc(), EMS_VALUE_INT16_NOTSET); // unknown remote set, switch off
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -366,7 +366,7 @@ bool WebSchedulerService::command(const char * cmd, const char * data) {
|
|||||||
snprintf(error, sizeof(error), "Scheduled command %s failed with error code (%s)", cmd, Command::return_code_string(return_code).c_str());
|
snprintf(error, sizeof(error), "Scheduled command %s failed with error code (%s)", cmd, Command::return_code_string(return_code).c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
emsesp::EMSESP::logger().err(error);
|
emsesp::EMSESP::logger().warning(error);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user