Add microampere (µA) to CURRENT sensor class#3022
Conversation
📝 WalkthroughWalkthroughDocumentation update to the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@docs/core/entity/sensor.md`:
- Line 45: Revert the unsupported microampere unit addition for the CURRENT
device class: update the SensorDeviceClass.CURRENT documentation entry to list
only "A, mA" (remove "µA") so it matches Home Assistant's supported units and
validation; locate the CURRENT entry in docs/core/entity/sensor.md (the table
row for SensorDeviceClass.CURRENT) and remove the "µA" token from the units
column.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: f661ac28-efbb-427e-992b-cddb3f849a1a
📒 Files selected for processing (1)
docs/core/entity/sensor.md
|
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
|
New PR containing both changes: |
Proposed change
Type of change
Checklist
Additional information
Add unit 'µA' for the units of electric current core#166786
Summary by CodeRabbit