pub fn find_working_temp_action(
    temps: &impl PossibleTemperatureContainer,
    range: &WorkingRange,
    config: &HeatPumpCirculationConfig,
    heat_direction: CurrentHeatDirection,
    mixed_state: Option<MixedState>,
    dhw_slot: Option<&DhwBap>
) -> Result<WorkingTempAction, Sensor>
Expand description

Forecasts what the Heat Exchanger temperature is likely to be soon based on the temperature of HXOR since it will drop quickly if HXOR is low (and hence maybe we should go straight to On). Returns the forecasted temperature, or the sensor that was missing.