diff --git a/server/src/forecast.mjs b/server/src/forecast.mjs index 9e50a10..740b272 100644 --- a/server/src/forecast.mjs +++ b/server/src/forecast.mjs @@ -161,6 +161,7 @@ export async function get24HourForecast(currentSensors) { slot.heat_index = Math.round(heatIndex(slot.temperature, slot.humidity) * 100) / 100; slot.vapor_pressure_deficit = vaporPressureDeficit(slot.temperature, slot.humidity); slot.humidity_abs = absoluteHumidity(slot.temperature, slot.humidity); + Object.assign(slot, getWeatherCondition(slot)); } return slots;