mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
remove redundant code
This commit is contained in:
@@ -1249,7 +1249,6 @@ bool Thermostat::set_wwonetime(const char * value, const int8_t id) {
|
||||
LOG_WARNING(F("Set warm water onetime: Invalid value"));
|
||||
return false;
|
||||
}
|
||||
char s[7];
|
||||
LOG_INFO(F("Setting warm water onetime to %s"), b ? F_(on) : F_(off));
|
||||
write_command(0x02F5, 11, b ? 0xFF : 0x00, 0x031D);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user