def get_schedule_config(config):
    """Get all the config related to scheduling this includes:

    - Active Days
    - Start Time
    - End Time

    It will also convert the hours and minute we should start/end in to ints.

    Args:
        config (ConfigParser): ConfigParser object used to get the config.

    Returns:
        dict: Containing the active days, start and end times.

    """
    active_days_list = [
        day.strip() for day in config.get("schedule", "active_days").split(",")
    ]
    start_time_hour, start_time_minute = config.get("schedule", "start_time").split(":")
    end_time_hour, end_time_minute = config.get("schedule", "end_time").split(":")

    return {
        "active_days": active_days_list,
        "start": {"hour": int(start_time_hour), "minute": int(start_time_minute)},
        "end": {"hour": int(end_time_hour), "minute": int(end_time_minute)},
    }