mirror of
https://github.com/esphome/esphome.git
synced 2024-11-15 03:28:12 +01:00
Fix reactive power unit of measurement from VAR to var (#7757)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
15bfc4c91f
commit
9bc7b74d01
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ void SDMMeter::on_modbus_data(const std::vector<uint8_t> &data) {
|
||||||
|
|
||||||
ESP_LOGD(
|
ESP_LOGD(
|
||||||
TAG,
|
TAG,
|
||||||
"SDMMeter Phase %c: V=%.3f V, I=%.3f A, Active P=%.3f W, Apparent P=%.3f VA, Reactive P=%.3f VAR, PF=%.3f, "
|
"SDMMeter Phase %c: V=%.3f V, I=%.3f A, Active P=%.3f W, Apparent P=%.3f VA, Reactive P=%.3f var, PF=%.3f, "
|
||||||
"PA=%.3f °",
|
"PA=%.3f °",
|
||||||
i + 'A', voltage, current, active_power, apparent_power, reactive_power, power_factor, phase_angle);
|
i + 'A', voltage, current, active_power, apparent_power, reactive_power, power_factor, phase_angle);
|
||||||
if (phase.voltage_sensor_ != nullptr)
|
if (phase.voltage_sensor_ != nullptr)
|
||||||
|
|
Loading…
Reference in a new issue