sending dash/- to reset command doesn't error

This commit is contained in:
Proddy
2023-10-01 17:31:11 +02:00
parent bc0a90ee41
commit 3f99806ddd

View File

@@ -2341,7 +2341,9 @@ bool Boiler::set_reset(const char * value, const int8_t id) {
return false; return false;
} }
if (num == 1) { if (num == 0) {
return true; // dash
} else if (num == 1) {
// LOG_INFO("Reset boiler maintenance message"); // LOG_INFO("Reset boiler maintenance message");
write_command(0x05, 0x08, 0xFF, 0x1C); write_command(0x05, 0x08, 0xFF, 0x1C);
has_update(&reset_); has_update(&reset_);