diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-05-16 17:09:15 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-05-16 17:09:43 +0300 |
commit | 567a274cdb8f666ae9f5b565b74f2342d04a60c2 (patch) | |
tree | 6f12b8ce739c91e02dc16dc73ca775f3460f861b | |
parent | 302b3a78bd7a61be877daa66f81d406189b7ef62 (diff) |
minor fix (fix missing space between value and unit)
-rwxr-xr-x | inverter-bot | 2 |
1 files changed, 1 insertions, 1 deletions
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 += '\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: html += '\n<b>Generator:</b> %s %s' % (gs['grid_voltage']['unit'], gs['grid_voltage']['value']) |