Skip to content

Commit 6f07422

Browse files
author
veeck
committed
use apparent_temperature for feelsLike temperature in openmeto
1 parent 06a2a6b commit 6f07422

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/default/weather/providers/openmeteo.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ WeatherProvider.register("openmeteo", {
381381
currentWeather.maxTemperature = parseFloat(weather.daily[0].temperature_2m_max);
382382
currentWeather.weatherType = this.convertWeatherType(weather.current_weather.weathercode, currentWeather.isDayTime());
383383
currentWeather.humidity = parseFloat(weather.hourly[h].relativehumidity_2m);
384+
currentWeather.feelsLikeTemp = parseFloat(weather.hourly[h].apparent_temperature);
384385
currentWeather.rain = parseFloat(weather.hourly[h].rain);
385386
currentWeather.snow = parseFloat(weather.hourly[h].snowfall * 10);
386387
currentWeather.precipitationAmount = parseFloat(weather.hourly[h].precipitation);

0 commit comments

Comments
 (0)