-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Document MCF as another volume/gas/water unit #2746
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
base: master
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthroughThe documentation for number and sensor device classes was updated to include "MCF" (thousand cubic feet) as a supported unit for the GAS, VOLUME, VOLUME_STORAGE, and WATER classes. No changes were made to code, logic, or public interfaces—only documentation was modified. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
docs/core/entity/number.md (1)
53-53
: MCF addition looks correct; consider clarifying the abbreviation once.The unit list now contains
MCF
, which is great. BecauseM
can ambiguously stand for thousand or million in different domains, a one-time footnote or short parenthetical “(thousand ft³)” elsewhere in the doc would pre-empt confusion.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting
📒 Files selected for processing (2)
docs/core/entity/number.md
(2 hunks)docs/core/entity/sensor.md
(2 hunks)
🔇 Additional comments (7)
docs/core/entity/number.md (3)
82-82
: LGTM – unit list kept in sync with GAS row.
84-84
: LGTM – VOLUME_STORAGE now lists MCF.
85-85
: LGTM – WATER row updated consistently.docs/core/entity/sensor.md (4)
56-56
: MCF unit added for GAS sensors – looks good.
86-86
: Volume sensor units updated – in sync with number docs.
88-88
: MCF inclusion for VOLUME_STORAGE confirmed.
89-89
: Water sensor row updated – no issues.
Proposed change
Complementary to home-assistant/home-assistant.io#40281 and home-assistant/core#150015, this documents MCF as another alternative volume unit, as this is how some utilities in the US bill for water or gas.
Type of change
Checklist
Additional information
Summary by CodeRabbit