Merge branch 'develop' into clean-up-updatenotifications-and-nunjuck-templating

This commit is contained in:
Michael Teeuw
2021-10-06 15:21:54 +02:00
committed by GitHub
16 changed files with 767 additions and 773 deletions

View File

@@ -127,6 +127,8 @@ WeatherProvider.register("openweathermap", {
currentWeather.humidity = currentWeatherData.main.humidity;
currentWeather.temperature = currentWeatherData.main.temp;
currentWeather.feelsLikeTemp = currentWeatherData.main.feels_like;
if (this.config.windUnits === "metric") {
currentWeather.windSpeed = this.config.useKmh ? currentWeatherData.wind.speed * 3.6 : currentWeatherData.wind.speed;
} else {