def get_history_resource_data(session, team, date, hour, storage):
    """Return the history energy usage of the team for the date and hour."""
    return storage.get_history_resource_data(session, team, date, hour)