<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse_schedule(self, data):
 """Parses the device sent schedule."""

        sched = Schedule.parse(data)
        _LOGGER.debug("Got schedule data for day '%s'", sched.day)

        return sched