willRainSoon from weather API

This commit is contained in:
2026-08-02 22:55:30 +02:00
parent 70d3bfba7c
commit 54e9164dc9
3 changed files with 7 additions and 13 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ void renderHomeScreen(bool forceRefresh) {
M5.Lcd.setCursor(90, 65);
M5.Lcd.print(sanitizeGermanText(lastWeather.current.description));
if (willRainSoon(lastWeather, 8)) {
if (lastWeather.willRainSoon) {
Icons::drawRainWarning(280, 30);
M5.Lcd.setTextColor(Theme::ACCENT_RAIN, Theme::BG);
M5.Lcd.setTextSize(1);