[weather] use 'apparent_temperature' in openmeteos data for feelsLike temperature (#3868)

This commit is contained in:
Veeck
2025-08-30 13:00:00 +02:00
committed by GitHub
parent fad8bbaeb1
commit f8679b6ba8
4 changed files with 7 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ const weather = require("../../../../../modules/default/weather/weatherutils");
const WeatherUtils = require("../../../../../modules/default/weather/weatherutils");
describe("Weather utils tests", () => {
describe("windspeed conversion to imperial", () => {
describe("temperature conversion to imperial", () => {
it("should convert temp correctly from Celsius to Fahrenheit", () => {
expect(Math.round(WeatherUtils.convertTemp(10, "imperial"))).toBe(50);
});