'Return the wind bearing.'

@property
def wind_bearing(self):

    directions = ['N', 'NNE', 'NE', 'ENE', 'E', 'ESE', 'SE', 'SSE', 'S', 'SSW', 'SW', 'WSW', 'W', 'WNW', 'NW', 'NNW']
    wind = {name: ((idx * 360) / 16) for (idx, name) in enumerate(directions)}
    return wind.get(self.bom_data.data.get('wind_dir'))
