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

Set correct humidity unit to remove log error #64

Merged
merged 1 commit into from
May 16, 2023

Conversation

tomrosenback
Copy link

Noted that Home Assistant complains about incorrect unit for humidity device class, so corrected it to % instead of %H.

@Jalle19
Copy link
Owner

Jalle19 commented May 16, 2023

Interesting find, thanks!

@Jalle19 Jalle19 merged commit 3e7a90e into Jalle19:master May 16, 2023
@Jalle19
Copy link
Owner

Jalle19 commented May 22, 2023

Adding the error message here for posterity:

sensor.eda_exhaustairhumidity (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '%H' which is not a valid unit for the device class ('humidity') it is using; expected one of ['%'];

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.

2 participants