decompil3d / lovelace-hourly-weather

Hourly weather card for Home Assistant. Visualize upcoming weather conditions as a colored horizontal bar.
MIT License
273 stars 28 forks source link

Feature: Adds support for filling the bar with icons from the official weather card #669

Open scinos opened 2 months ago

scinos commented 2 months ago

Note: The goal of this PR is to get initial feedback for the idea. If we are happy with the approach, I'll add tests, clean up the code and deal with corner cases.


What problem does this PR solve?

I have this card in a wallboard. However, the icons are too small to be viewed across the room, and I can never remember which color represents each weather condition.

Proposed solution

I'd like to have a view more similar to the Weather app in Android: instead of using bars, display an icon for each hour/segment. Optionally, use more colorful icons.

I've introduced two new options:

This is how it looks like:

image

Problems/questions

PS: Cheers from a fellow ex-Atlassian :D

scinos commented 2 days ago

@decompil3d would you have some time to have a look to this PR? If you are ok with the feature, I can continue working on it (mainly add tests).