Skip to content

Commit

Permalink
Merge pull request #18
Browse files Browse the repository at this point in the history
Fix MinDischarge @ Delta 2 & River 2 Max
  • Loading branch information
tolwi authored Feb 11, 2023
2 parents 6a4df0c + 45da88e commit 20e69a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/ecoflow_cloud/devices/river2max.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def numbers(self, client: EcoflowMQTTClient) -> list[BaseNumberEntity]:
"params": {"maxChgSoc": int(value)}}),

MinBatteryLevelEntity(client, "bms_emsStatus.minDsgSoc", const.MIN_DISCHARGE_LEVEL, 0, 30,
lambda value: {"moduleType": 2, "operateType": "upsConfig",
lambda value: {"moduleType": 2, "operateType": "dsgCfg",
"params": {"minDsgSoc": int(value)}}),

ChargingPowerEntity(client, "mppt.cfgChgWatts", const.AC_CHARGING_POWER, 100, 660,
Expand Down

0 comments on commit 20e69a1

Please sign in to comment.