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: add humidity display #681

Open cdstouter opened 1 month ago

cdstouter commented 1 month ago

About this PR

The goal of this PR is to add support for displaying humidity values in the hourly forecast. I put this together very quickly, but I'd be more than happy to make changes as needed. At the moment, I have it running in my local HA instance, and it works great!

I basically just duplicated the precipitation probability feature and modified it to use humidity instead. I also added all of the translations for the UI, although they have been done with Google Translate so I don't know how accurate they are.

This PR closes #525

UI example

image

YAML Configuration

A show_humidity option has been added to the configuration that can be set to true or false.