From 8ad7b68c9e72ab7ad6bedcefdc4edb74ffe3fb06 Mon Sep 17 00:00:00 2001 From: Harrison Pace Date: Tue, 22 Sep 2020 17:01:58 +1000 Subject: [PATCH] Use Cloud State as alternative state if condition unknown (#37121) --- homeassistant/components/bom/weather.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/bom/weather.py b/homeassistant/components/bom/weather.py index 94b9960c851..9229d0c11d4 100644 --- a/homeassistant/components/bom/weather.py +++ b/homeassistant/components/bom/weather.py @@ -54,7 +54,9 @@ class BOMWeather(WeatherEntity): @property def condition(self): """Return the current condition.""" - return self.bom_data.get_reading("weather") + return self.bom_data.get_reading("weather") or self.bom_data.get_reading( + "cloud" + ) # Now implement the WeatherEntity interface