Add battery charge current limit number entity to GoodWe - #180296
Open
davibe wants to merge 1 commit into
Open
Conversation
1 task
Contributor
|
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
Contributor
|
Hey there @mletenay, @starkillerOG, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
davibe
force-pushed
the
goodwe-battery-charge-current
branch
from
August 26, 2026 15:40
89d7f82 to
e875471
Compare
davibe
force-pushed
the
goodwe-battery-charge-current
branch
from
August 26, 2026 18:03
e875471 to
a544c8d
Compare
| # Battery charge current limit in A (inverter side, BMS limits still apply). | ||
| # Only added when the inverter advertises the setting. | ||
| GoodweNumberEntityDescription( | ||
| key="battery_charge_current", |
davibe
marked this pull request as ready for review
August 26, 2026 18:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Battery charge current limit number entity to the GoodWe integration, exposing the inverter's
battery_charge_currentsetting (Modbus register 45353) under the device's configuration entities.The entity is only created when the inverter advertises the setting, and is read/written through
read_setting/write_settingwith the register's 0.1 A resolution. The 0–100 A range is GoodWe's documented range for the register (BattChargeCurrMax RW U16 gain 10 [0,1000]), not a per-model hardware limit; the inverter and battery BMS still apply their own limits. It's a current ceiling: actual charging power depends on battery voltage, available PV power, load, inverter mode and BMS limits.Related: mletenay/home-assistant-goodwe-inverter#413
Type of change