def _format_time(str):
    """Change string version of float back to original time format
    example -> '8.5' becomes '08:30:00'
    example -> '8.0' becomes '08:00:00'
    example -> '11.5' becomes '11:30:00'
    example -> '11.0' becomes '11:00:00'
    """

    time_list = str.split('.')

    if len(time_list[0]) == 1:
        time_list[0] = '0' + time_list[0]

    return (time_list[0] + ':30:00') if (int(time_list[1]) > 0) else (time_list[0] + ':00:00')