heatburnpower does not count similar with wwburnpow, #1335

This commit is contained in:
MichaelDvP
2023-10-18 11:22:53 +02:00
parent de2792ffdd
commit c533e91643

View File

@@ -1002,7 +1002,7 @@ void Boiler::check_active() {
store_energy(); store_energy();
} }
// store new modulation and time // store new modulation and time
heatBurnPow = heatingActive_ ? curBurnPow_ : 0; heatBurnPow = heatingActive_ && !tapwaterActive_ ? curBurnPow_ : 0;
wwBurnPow = tapwaterActive_ ? curBurnPow_ : 0; wwBurnPow = tapwaterActive_ ? curBurnPow_ : 0;
powLastReadTime_ = uuid::get_uptime(); powLastReadTime_ = uuid::get_uptime();
} }