mirror of
https://github.com/skoelle/wt32sc01-dashboard.git
synced 2026-09-18 09:50:25 +00:00
willRainSoon from API
This commit is contained in:
@@ -19,9 +19,9 @@ struct ForecastEntry {
|
||||
|
||||
struct WeatherData {
|
||||
bool valid = false;
|
||||
bool willRainSoon = false;
|
||||
WeatherCurrent current;
|
||||
std::vector<ForecastEntry> forecast;
|
||||
};
|
||||
|
||||
WeatherData fetchWeather();
|
||||
bool willRainSoon(const WeatherData &data, int hours = 8);
|
||||
|
||||
Reference in New Issue
Block a user