code: def status_schedule(token):
      
  
      url = 'https://app.hydrawise.com/api/v1/statusschedule.php'
  
      payload = {
          'api_key': token,
          'hours': 168}
  
      get_response = requests.get(url, params=payload, timeout=REQUESTS_TIMEOUT)
  
      if get_response.status_code == 200 and \
         'error_msg' not in get_response.json():
          return get_response.json()
  
      return None
docs: Returns the json string from the Hydrawise server after calling
      statusschedule.php.
  
      :param token: The users API token.
      :type token: string
      :returns: The response from the controller. If there was an error returns
                None.
      :rtype: string or None