diff --git a/psa_car_controller/psacc/utils/utils.py b/psa_car_controller/psacc/utils/utils.py index 1c396e6..9dcf186 100644 --- a/psa_car_controller/psacc/utils/utils.py +++ b/psa_car_controller/psacc/utils/utils.py @@ -10,7 +10,7 @@ TIMEOUT_IN_S = 10 def get_temp(latitude: str, longitude: str, api_key: str) -> float: try: if latitude and longitude and api_key: - weather_rep = requests.get("https://api.openweathermap.org/data/2.5/onecall", + weather_rep = requests.get("https://api.openweathermap.org/data/3.0/onecall", params={"lat": latitude, "lon": longitude, "exclude": "minutely,hourly,daily,alerts", "appid": api_key,