lws/inverter: fix ac input line

This commit is contained in:
Evgeny Zinoviev 2022-08-31 23:34:19 +03:00
parent 60f17a3fc2
commit 5015a47303

View File

@ -69,9 +69,9 @@ class InverterHandler extends RequestHandler
$status['pv1_input_power']['unit']);
if ($status['grid_voltage']['value'] > 0 or $status['grid_freq']['value'] > 0) {
$html .= "\n".sprintf('<b>Generator:</b> %s %s',
$status['grid_voltage']['unit'],
$status['grid_voltage']['value']);
$html .= "\n".sprintf('<b>A/C input:</b> %s %s',
$status['grid_voltage']['value'],
$status['grid_voltage']['unit']);
$html .= sprintf(', %s %s',
$status['grid_freq']['value'],
$status['grid_freq']['unit']);