I think this makes sense. We've done the same in other monitors/controllers like valves where there are several similar components handled in same driver.
I think we do want to check dialysate temperature during treatment, but maybe not in every sub-mode. For example, I think in treatment end sub-mode we have the dialyzer bypassed (no longer performing dialysis) so there is no need to worry about the dialysate temp anymore. That is the only exception I can think of at the moment.
This toggle macro is designed to be generic - so does not assume you are toggling between 0 and 1. Could be toggling between ON and OFF or OPEN and CLOSED, etc... So you have to give the macro the two values that you are toggling between.
I think we need to lower this minimum. We will be running dialysate at rates as low as 100 mL/min so we probably need to be able to see rates as low as 0.05 L/min.