Update MqttHandlVedirectHass.cpp
Fix HASS unit
This commit is contained in:
parent
49a10305e2
commit
3af0437857
@ -69,7 +69,7 @@ void MqttHandleVedirectHassClass::publishConfig()
|
|||||||
publishSensor("Battery voltage", NULL, "V", "voltage", "measurement", "V");
|
publishSensor("Battery voltage", NULL, "V", "voltage", "measurement", "V");
|
||||||
publishSensor("Battery current", NULL, "I", "current", "measurement", "A");
|
publishSensor("Battery current", NULL, "I", "current", "measurement", "A");
|
||||||
publishSensor("Battery power (calculated)", NULL, "P", "power", "measurement", "W");
|
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
|
// panel info
|
||||||
publishSensor("Panel voltage", NULL, "VPV", "voltage", "measurement", "V");
|
publishSensor("Panel voltage", NULL, "VPV", "voltage", "measurement", "V");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user