From 567a274cdb8f666ae9f5b565b74f2342d04a60c2 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 16 May 2021 17:09:15 +0300 Subject: minor fix (fix missing space between value and unit) --- inverter-bot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inverter-bot b/inverter-bot index b9937e4..03bf192 100755 --- a/inverter-bot +++ b/inverter-bot @@ -112,7 +112,7 @@ def msg_status(update: Update, context: CallbackContext) -> None: html += ' (%s%%)' % (gs['output_load_percent']['value']) if gs['pv1_input_power']['value'] > 0: - html += '\nInput power: %s%s' % (gs['pv1_input_power']['value'], gs['pv1_input_power']['unit']) + html += '\nInput power: %s %s' % (gs['pv1_input_power']['value'], gs['pv1_input_power']['unit']) if gs['grid_voltage']['value'] > 0 or gs['grid_freq']['value'] > 0: html += '\nGenerator: %s %s' % (gs['grid_voltage']['unit'], gs['grid_voltage']['value']) -- cgit v1.2.3