tolwi / hassio-ecoflow-cloud

EcoFlow Cloud Integration for Home Assistant
281 stars 47 forks source link

Fix maxChargeSoc for river_max device #209

Open tschaeck04 opened 4 months ago

tschaeck04 commented 4 months ago

Recently the maxChargeSoc was fixed for river_pro. For river_max this fix also works. I just tested it! So please also use

MaxBatteryLevelEntity(client, "bmsMaster.maxChargeSoc", const.MAX_CHARGE_LEVEL, 30, 100,
                                  lambda value: {"moduleType": 0, "operateType": "TCP",
                                                 "params": {"id": 49, "maxChgSoc": value}}),

for river_max.