Index: leahi_dialin/dd/proxies/td_proxy.py =================================================================== diff -u -r1f2bf6d939eb4033dbedb7d7005494cc12fccbc6 -reb0906658a56741e5e0a092359143acda54538f5 --- leahi_dialin/dd/proxies/td_proxy.py (.../td_proxy.py) (revision 1f2bf6d939eb4033dbedb7d7005494cc12fccbc6) +++ leahi_dialin/dd/proxies/td_proxy.py (.../td_proxy.py) (revision eb0906658a56741e5e0a092359143acda54538f5) @@ -85,7 +85,8 @@ def cmd_td_send_dd_gen_dialysate_request(self, start: bool = 0, dial_rate: float = 0, uf_rate: float = 0, - dial_temp: float = 0, bypass: int = 0, acid_conv_factor: float = 0.0, bicarb_conv_factor: float = 0.0, sodium: int = 0, bicarb_volume: int = 0): + dial_temp: float = 0, bypass: int = 0, acid_conv_factor: float = 0.0, + bicarb_conv_factor: float = 0.0, sodium: int = 0, bicarb_volume: int = 0, sub_rate: float = 0): """ Constructs and sends a TD gen dialysate request to the DD. @@ -100,7 +101,8 @@ bic = float_to_bytearray(bicarb_conv_factor) sod = integer_to_bytearray(sodium) bvl = integer_to_bytearray(bicarb_volume) - payload = stt + dial + uf + temp + byp + acd + bic + sod + bvl + sub = float_to_bytearray(sub_rate) + payload = stt + dial + uf + temp + byp + acd + bic + sod + bvl + sub cmd_generic_override(payload = payload, reset = None,