Correction des données météo
This commit is contained in:
@@ -42,6 +42,10 @@ async function fetchWeather(targetDateTime, config) {
|
||||
|
||||
if (!result) continue;
|
||||
|
||||
if (provider.name === "influxdb") {
|
||||
return result;
|
||||
}
|
||||
|
||||
mergeWeather(weather, result, provider.name);
|
||||
|
||||
const complete = WEATHER_FIELDS.every((field) => hasValue(weather[field]));
|
||||
|
||||
Reference in New Issue
Block a user