lws/inverter: fix ac input line
This commit is contained in:
parent
60f17a3fc2
commit
5015a47303
@ -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']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user