The targets of the scheduled boosts whose window is open.
No boost outside the off-peak period, nor when the temperature is above the threshold. A missing or failed reading (DEVICE_DISCONNECTED_RAW, -7040) counts as cold on purpose: the boost runs, and the water heater's own thermostat stays the safety limit; the threshold only stops the boost before the heater's setting.
- Parameters
-
| bOffPeak | true during the off-peak period |
| elapsed | ms since the start of the off-peak period (millis() - its start) |
| temperature_x100 | the temperature of the probe checked against the threshold, x100 |
| threshold_x100 | the temperature above which no boost runs, x100 |
| count | the number of boosts |
| readBoost | callable taking a boost index (below count), returning its DualTariff::Boost |
- Returns
- the union of the masks of every boost in its window
Definition at line 101 of file override_masks.h.