Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: make text of total production fit displays
in case the total production is larger than 1 MWh, i.e., 1000 kWh, the text on the respective line becomes too large such that it reaches out of the display when the screensaver is enabled. this happens on the small and large displays. this change switches the number format to a float without decimal places if the total production is larger or equal to 1000 kWh. this saves a dot and a digit, making the text short enough to fit the display even when the screensaver moved the display contents as far to the right as it does.
- Loading branch information