diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-09-02 13:37:49 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-09-02 13:38:02 +0300 |
commit | c7e10c52a9cd5be57e86e4e911bd21d6380771a6 (patch) | |
tree | e1115e551d9fdb64048fa7ba1a2561d96c7eadb8 /src/inverter_mqtt_receiver.py | |
parent | 06ca251b94e06b8fe58437704a7ada716d3056b0 (diff) |
inverter: support inverter-tools 1.5.0
Diffstat (limited to 'src/inverter_mqtt_receiver.py')
-rwxr-xr-x | src/inverter_mqtt_receiver.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inverter_mqtt_receiver.py b/src/inverter_mqtt_receiver.py index dd61d9a..d3a487b 100755 --- a/src/inverter_mqtt_receiver.py +++ b/src/inverter_mqtt_receiver.py @@ -48,8 +48,8 @@ class MQTTReceiver(MQTTBase): battery_voltage=int(data['battery_voltage'] * 10), battery_voltage_scc=int(data['battery_voltage_scc'] * 10), battery_voltage_scc2=int(data['battery_voltage_scc2'] * 10), - battery_discharging_current=data['battery_discharging_current'], - battery_charging_current=data['battery_charging_current'], + battery_discharge_current=data['battery_discharge_current'], + battery_charge_current=data['battery_charge_current'], battery_capacity=data['battery_capacity'], inverter_heat_sink_temp=data['inverter_heat_sink_temp'], mppt1_charger_temp=data['mppt1_charger_temp'], |