def schedule(self):
        r = requests.get((self.zone_type, self.zoneId) % 'https://tccna.honeywell.com/WebAPI/emea/api/v1/%s/%s/schedule', headers=self.client.headers)
        # was request ok ?
        r.raise_for_status()
        mapping = [
            ('dailySchedules', 'DailySchedules'),
            ('dayOfWeek', 'DayOfWeek'),
            ('temperature', 'TargetTemperature'),
            ('timeOfDay', 'TimeOfDay'),
            ('switchpoints', 'Switchpoints'),
            ('dhwState', 'DhwState'),
        ]
        j = r.text
        for f, t in mapping:
            j = j.replace(f, t)
            
        d = self._convert(j)
        # change the day name string to a number offset (0 = Monday)
        for day_of_week, schedule in enumerate(d['DailySchedules']):
            schedule['DayOfWeek'] = day_of_week
        return d
dataset/ETHPy150Open watchforstock/evohome-client/evohomeclient2/zone.py/ZoneBase.schedule/swapped operands of `%`