Skip to content

Commit 0abe55b

Browse files
author
veeck
committed
remove accidental changes
1 parent c4b23ab commit 0abe55b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

modules/default/weather/providers/openmeteo.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,6 @@ WeatherProvider.register("openmeteo", {
370370
*/
371371
const h = moment().hour();
372372
const currentWeather = new WeatherObject();
373-
Log.info(weather);
374-
Log.info(h);
375373

376374
currentWeather.date = weather.current_weather.time;
377375
currentWeather.windSpeed = weather.current_weather.windspeed;
@@ -383,15 +381,13 @@ WeatherProvider.register("openmeteo", {
383381
currentWeather.maxTemperature = parseFloat(weather.daily[0].temperature_2m_max);
384382
currentWeather.weatherType = this.convertWeatherType(weather.current_weather.weathercode, currentWeather.isDayTime());
385383
currentWeather.humidity = parseFloat(weather.hourly[h].relativehumidity_2m);
386-
//currentWeather.feelsLikeTemp = parseFloat(weather.hourly[h].apparent_temperature);
384+
currentWeather.feelsLikeTemp = parseFloat(weather.hourly[h].apparent_temperature);
387385
currentWeather.rain = parseFloat(weather.hourly[h].rain);
388386
currentWeather.snow = parseFloat(weather.hourly[h].snowfall * 10);
389387
currentWeather.precipitationAmount = parseFloat(weather.hourly[h].precipitation);
390388
currentWeather.precipitationProbability = parseFloat(weather.hourly[h].precipitation_probability);
391389
currentWeather.uv_index = parseFloat(weather.hourly[h].uv_index);
392390

393-
Log.info(currentWeather);
394-
395391
return currentWeather;
396392
},
397393

0 commit comments

Comments
 (0)