-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Update energy docs to include power #41201
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: next
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Pull Request Overview
This PR updates the Home Assistant energy documentation to clarify that power sensors (measured in Watts) can now be used directly in the Energy Dashboard alongside energy sensors. Previously, the documentation only mentioned energy sensors and required users to convert power sensors using the Riemann sum integral integration.
Key changes:
- Clarifies that power sensors can be added directly to the Energy Dashboard when they have appropriate attributes
- Updates troubleshooting documentation to include power sensors alongside energy sensors
- Adds comprehensive information about power sensor requirements (device_class, state_class, and units)
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| source/_docs/energy/individual-devices.markdown | Adds clarification that power sensors can be added directly with appropriate attributes |
| source/_docs/energy/faq.markdown | Updates troubleshooting section to include power sensors with device_class and state_class requirements |
| source/_docs/energy/electricity-grid.markdown | Updates troubleshooting text to mention both energy and power sensors |
| source/_docs/energy.markdown | Adds new paragraph explaining power sensor configuration requirements |
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.
Thank you, @MindFreeze 👍
Proposed change
Type of change
currentbranch).currentbranch).nextbranch).nextbranch).Additional information
Checklist
currentbranch.nextbranch.