Skip to content

Home Information - Your home, your data, organized.

Python

Bug fix: bad api status call.

Tony Cassandracd527caa3255
diff --git a/src/hi/apps/weather/weather_data_source.py b/src/hi/apps/weather/weather_data_source.py
index 6cf75593..e1531e22 100644
--- a/src/hi/apps/weather/weather_data_source.py
+++ b/src/hi/apps/weather/weather_data_source.py
@@ -160,8 +160,7 @@ class WeatherDataSource( ApiHealthStatusProvider ):
if not can_fetch:
if self.TRACE:
- logger.debug( f'Polling limits. Skipping weather data fetch for: {self.label}' )
- self.record_warning( 'Polling limit reached.' )
+ logger.debug(f'Polling limits. Skipping weather data fetch for: {self.label}')
return
logger.debug( f'Fetching weather data for: {self.label}' )