Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data alignment on multiple values #51

Open
chimeranzl opened this issue Nov 4, 2021 · 0 comments
Open

Data alignment on multiple values #51

chimeranzl opened this issue Nov 4, 2021 · 0 comments

Comments

@chimeranzl
Copy link

chimeranzl commented Nov 4, 2021

Hi,
I have 3 values published via MMM-MQTT, the first 2 have a suffix defined (both temperature values) whilst the last entry is a string (current power in kWh) with no suffix. They all display ok, however the alignment of the last value the right hand side of the text lines up to the value of the first two values (but it has no suffix) as opposed to ignoring the first 2 suffixes and being completely right justified (if that makes sense) Like this... hopefully it formats ok:

        20 °C
        25 °C
   (50kWh)

Where "°C" is the suffix. As the "(50kWh)" has no suffix assigned, I'd expect it to be completely right justified to the edge of the "°C" from the first 2 entries.

Additionally it also displays the temperature readings in grey, but the kWh in white text. How do I change them to be the same? There is currently no specific entry in either config to specify what color the text should be.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant