Skip to content

Commit

Permalink
Add missing param to set param call
Browse files Browse the repository at this point in the history
  • Loading branch information
mletenay committed May 26, 2024
1 parent eab4650 commit aed25f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Use at own risk.
- Network configuration parameters `Scan iterval`, `Network retry attempts`, `Network request timeout`.
- Switch `Export Limit Switch`.
- Switch `Load Control` (for ET+ inverters).
- Switch and SoC/Power inputs for `Fast Charging` functionality.
- `Start inverter` and `Stop inverter` buttons for grid-only inverters.
- Services for getting/setting inverter configuration parameters

### Migration from HACS to HA
Expand Down
2 changes: 1 addition & 1 deletion custom_components/goodwe/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def _get_setting_unit(inverter: Inverter, setting: str) -> str:
native_max_value=100,
getter=lambda inv: inv.read_setting("fast_charging_power"),
mapper=lambda v: v,
setter=lambda inv, val: inv.write_setting("fast_charging_power"),
setter=lambda inv, val: inv.write_setting("fast_charging_power", val),
filter=lambda inv: True,
),
GoodweNumberEntityDescription(
Expand Down

0 comments on commit aed25f6

Please sign in to comment.