Fixing 24 hour forecast
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user