Skip to content

Commit

Permalink
MQTT topic bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
swingstate committed Dec 22, 2023
1 parent e0366b7 commit b004253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MqttHandlePylontechHass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void MqttHandlePylontechHassClass::publishConfig()
publishSensor("Discharge current limit", NULL, "settings/dischargeCurrentLimitation", "current", "measurement", "A");
publishSensor("SmartShunt battery midpoint", NULL, "midpointVoltage", "voltage", "measurement", "V");
publishSensor("SmartShunt battery midpoint Deviation", NULL, "midpointDeviation", "battery", "measurement", "%");
publishSensor("SmartShunt Instantaneous Power", NULL, "instantaneousPower", "energy", "measurement", "W");
publishSensor("SmartShunt Instantaneous Power", NULL, "instantaneousPower", "power", "measurement", "W");
publishSensor("SmartShunt Consumed AmpHours", NULL, "consumpedAmpHours", "energy", "measurement", "Ah");
publishSensor("SmartShunt Total Charged Energy", NULL, "chargedEnergy", "energy", "total_increasing", "kWh");
publishSensor("SmartShunt Total DisCharged Energy", NULL, "dischargedEnergy", "energy", "total_increasing", "kWh");
Expand Down

0 comments on commit b004253

Please sign in to comment.