code: def switch_on(self):
          
          success = self.set_status(CONST.STATUS_ON_INT)
  
          if success:
              self._json_state['status'] = CONST.STATUS_OPEN
  
          return success
docs: Open the valve.