From 99a7c83344c7f8d1ee8af58d4cac5f5decfa7a55 Mon Sep 17 00:00:00 2001 From: Nick Shorter Date: Sat, 2 Oct 2021 09:35:37 -0500 Subject: [PATCH] Fixed conditions --- matrix/weathermatrix.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/matrix/weathermatrix.py b/matrix/weathermatrix.py index a7b2b2b..575cfe0 100755 --- a/matrix/weathermatrix.py +++ b/matrix/weathermatrix.py @@ -64,6 +64,9 @@ def render_icon(self, api: Weather) -> None: # Snow Class owm_icon = 600 color: Tuple[int] = (255,255,255) + elif owm_wxcode in range(700, 780): + owm_icon = 711 + color: Tuple[int] = (192, 192, 192) elif owm_wxcode == 800: # Sunny if api.get_sunset > datetime.now():