code: def _set_auto_watering(self, zoneid, value):
          
          if not isinstance(value, bool):
              return None
  
          ddata = self.preupdate()
          attr = 'zone{}_program_toggle'.format(zoneid)
          try:
              if not value:
                  ddata.pop(attr)
              else:
                  ddata[attr] = 'on'
          except KeyError:
              pass
          self.submit_action(ddata)
          return True
docs: Private method to set auto_watering program.