docs: def set_schedule(self, zone_info):
          """Sets the schedule for this zone"""
          # must only POST json, otherwise server API handler raises exceptions
          try:
              json.loads(zone_info)
  
          except ValueError as error:
              raise ValueError("zone_info must be valid JSON: ", error)
  
          headers = dict(self.client._headers())                                   # pylint: disable=protected-access
          headers['Content-Type'] = 'application/json'
  
          response = requests.put(
              "https://tccna.honeywell.com/WebAPI/emea/api/v1"
              "/%s/%s/schedule" % (self.zone_type, self.zoneId),
              data=zone_info, headers=headers
          )
          response.raise_for_status()
  
          return response.json()