code: def _set_watering_time(self, zoneid, value):
          
          if value not in MANUAL_WATERING_ALLOWED:
              raise ValueError(
                  'Valid options are: {}'.format(
                      ', '.join(map(str, MANUAL_WATERING_ALLOWED)))
              )
  
          if isinstance(value, int) and value == 0:
              value = 'OFF'
          elif isinstance(value, str):
              value = value.upper()
              if value == 'ON':
                  value = MAX_WATERING_MINUTES
  
          ddata = self.preupdate()
          attr = 'zone{}_select_manual_mode'.format(zoneid)
          ddata[attr] = value
          self.submit_action(ddata)
docs: Private method to set watering_time per zone.