If weather = Weather(temperature_unit="Kelvin"), then the formatting of the keys in data = weather.fetch_weather(city) is inconsistent with the other temperatures. data["Temperature: "] is instead data["Temperature : "].
Could you patch this?
My local fix: temperature = data["Temperature: "] if data.get("Temperature: ", False) else data["Temperature : "]