Fixing input_ontime comparison

This allows to use pump data (l/h) to count the amount of time