diff options
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'], |