The periodical measurement calls set_pump_state to turn on/off the pump. However, the case when this command is not successful (indicated by False return value), the program is not prepared and it continues without checking whether the command was successful.
The periodical measurement calls
set_pump_state
to turn on/off the pump. However, the case when this command is not successful (indicated byFalse
return value), the program is not prepared and it continues without checking whether the command was successful.