Skip to content

Fixed conditions #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions matrix/weathermatrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down