minor fix (fix missing space between value and unit)
This commit is contained in:
parent
302b3a78bd
commit
567a274cdb
@ -112,7 +112,7 @@ def msg_status(update: Update, context: CallbackContext) -> None:
|
|||||||
html += ' (%s%%)' % (gs['output_load_percent']['value'])
|
html += ' (%s%%)' % (gs['output_load_percent']['value'])
|
||||||
|
|
||||||
if gs['pv1_input_power']['value'] > 0:
|
if gs['pv1_input_power']['value'] > 0:
|
||||||
html += '\n<b>Input power:</b> %s%s' % (gs['pv1_input_power']['value'], gs['pv1_input_power']['unit'])
|
html += '\n<b>Input power:</b> %s %s' % (gs['pv1_input_power']['value'], gs['pv1_input_power']['unit'])
|
||||||
|
|
||||||
if gs['grid_voltage']['value'] > 0 or gs['grid_freq']['value'] > 0:
|
if gs['grid_voltage']['value'] > 0 or gs['grid_freq']['value'] > 0:
|
||||||
html += '\n<b>Generator:</b> %s %s' % (gs['grid_voltage']['unit'], gs['grid_voltage']['value'])
|
html += '\n<b>Generator:</b> %s %s' % (gs['grid_voltage']['unit'], gs['grid_voltage']['value'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user