Skip to content

Commit

Permalink
Update MqttHandlVedirectHass.cpp
Browse files Browse the repository at this point in the history
Fix HASS unit
  • Loading branch information
alexz707 authored Nov 13, 2023
1 parent 49a1030 commit 3af0437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MqttHandlVedirectHass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void MqttHandleVedirectHassClass::publishConfig()
publishSensor("Battery voltage", NULL, "V", "voltage", "measurement", "V");
publishSensor("Battery current", NULL, "I", "current", "measurement", "A");
publishSensor("Battery power (calculated)", NULL, "P", "power", "measurement", "W");
publishSensor("Battery efficiency (calculated)", NULL, "E", "efficiency", "measurement", "%");
publishSensor("Battery efficiency (calculated)", NULL, "E", NULL, "measurement", "%");

// panel info
publishSensor("Panel voltage", NULL, "VPV", "voltage", "measurement", "V");
Expand Down

0 comments on commit 3af0437

Please sign in to comment.