general fixes

This commit is contained in:
Patrick 2024-10-09 20:20:04 +02:00
parent 281d786c19
commit 885b838704
7 changed files with 66 additions and 23 deletions

View file

@ -18,23 +18,22 @@ class Weather:
data = {
"temperature": weather.temperature,
"humidity": weather.humidity,
"unit": weather.unit,
"unit": str(weather.unit),
"datetime": weather.datetime,
"coordinates": weather.coordinates,
"country": weather.country,
"daily_forecasts": weather.daily_forecasts,
"description": weather.description,
"feels_like": weather.feels_like,
"kind": weather.kind,
"kind": str(weather.kind),
"local_population": weather.local_population,
"locale": weather.locale,
"locale": str(weather.locale),
"location": weather.location,
"precipitation": weather.precipitation,
"pressure": weather.pressure,
"region": weather.region,
"ultraviolet": weather.ultraviolet,
"ultraviolet": str(weather.ultraviolet),
"visibility": weather.visibility,
"wind_direction": weather.wind_direction,
"wind_direction": str(weather.wind_direction),
"wind_speed": weather.wind_speed,
}