Skip to content
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

Feature: add humidity display #681

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

cdstouter
Copy link

@cdstouter cdstouter commented May 31, 2024

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.

@cdstouter cdstouter changed the title Feature: add humidity display - closes #525 Feature: add humidity display May 31, 2024
Copy link
Owner

@decompil3d decompil3d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi - thanks for the contribution 😃 Can you please add tests to cover this new functionality? I see that you've already added the requisite test data, but you need to add some actual test cases that verify that we don't show humidity when it's not configured, but do show it when it is configured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add humidity
2 participants