fix coldshot command with dhw tag, restart coldshot timer

This commit is contained in:
MichaelDvP
2024-04-21 10:39:17 +02:00
parent 8c7b0a674f
commit 0eb04b9027
6 changed files with 14 additions and 10 deletions

View File

@@ -2474,9 +2474,10 @@ bool Boiler::set_ww_activated(const char * value, const int8_t id) {
// Note: Using the type 0x1D to put the boiler into Test mode. This may be shown on the boiler with a flashing 'T'
bool Boiler::set_tapwarmwater_activated(const char * value, const int8_t id) {
// as it's a command it may not initially exist
// if (!Helpers::hasValue(wwTapActivated_, EMS_VALUE_BOOL)) {
// return false;
// }
if (!Helpers::hasValue(wwTapActivated_, EMS_VALUE_BOOL)) {
LOG_WARNING("Coldshot not possible in dhw-buffer systems");
return false;
}
bool v;
if (!Helpers::value2bool(value, v)) {