summaryrefslogtreecommitdiff
path: root/src/inverter_mqtt_receiver.py
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-09-02 13:37:49 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-09-02 13:38:02 +0300
commitc7e10c52a9cd5be57e86e4e911bd21d6380771a6 (patch)
treee1115e551d9fdb64048fa7ba1a2561d96c7eadb8 /src/inverter_mqtt_receiver.py
parent06ca251b94e06b8fe58437704a7ada716d3056b0 (diff)
inverter: support inverter-tools 1.5.0
Diffstat (limited to 'src/inverter_mqtt_receiver.py')
-rwxr-xr-xsrc/inverter_mqtt_receiver.py4
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'],