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

Use the correct unit of measurement for device class volume for the hydration sensor #4846

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

dshokouhi
Copy link
Member

Summary

Entity sensor.dannys_pixel_9_pro_xl_daily_hydration (<class 'homeassistant.components.mobile_app.sensor.MobileAppSensor'>) is using native unit of measurement 'ml' which is not a valid unit for the device class ('volume') it is using; expected one of ['mL', 'gal', 'fl. oz.', 'L', 'CCF', 'ft³', 'm³']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mobile_app%22

per: https://www.home-assistant.io/integrations/sensor/

volume: Generic volume in L, mL, gal, fl. oz., m³, ft³, or CCF

oops 🙈

Screenshots

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#

Any other notes

@jpelgrom
Copy link
Member

Sorry for creating this issue... (but why does core care?)

@jpelgrom jpelgrom merged commit 3fb2b0e into home-assistant:master Nov 25, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants