diff --git a/weather.go b/weather.go index 3bf86d9..410d65f 100644 --- a/weather.go +++ b/weather.go @@ -113,9 +113,9 @@ func initWeather(ctx context.Context, wg WaitGroup, dev *infinitime.Device) erro icon := parseSymbol(current.Data.NextHour.Summary.SymbolCode) if icon == infinitime.WeatherIconClear { switch { - case currentData.CloudAreaFraction > 0.5: + case currentData.CloudAreaFraction > 50: icon = infinitime.WeatherIconHeavyClouds - case currentData.CloudAreaFraction == 0.5: + case currentData.CloudAreaFraction == 50: icon = infinitime.WeatherIconClouds case currentData.CloudAreaFraction > 0: icon = infinitime.WeatherIconFewClouds