You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bit OCD but if you have multiples of these in a vertical stack it's nice for the indicators to line up.
For temperature (and other?) indicators which return whole integer values as well as fractions, the card appears hardwired to render just the integer value without the decimal point, but if there's a fraction it shows the value rounded as required, e.g. 'round: 1' code.
So 23.74 renders as 23.7
23.01 renders as 23 rather than 23.0
This means that you can't fix the column widths of the indicators if you want to show anything after the decimal points because it will reduce the space used by the temperature if it is an integer.
Can work around by rounding everything to no decimals except the temperature and putting the temp last, in my instance.
The text was updated successfully, but these errors were encountered:
Great, card, thanks for all the development work.
A bit OCD but if you have multiples of these in a vertical stack it's nice for the indicators to line up.
For temperature (and other?) indicators which return whole integer values as well as fractions, the card appears hardwired to render just the integer value without the decimal point, but if there's a fraction it shows the value rounded as required, e.g. 'round: 1' code.
So 23.74 renders as 23.7
23.01 renders as 23 rather than 23.0
This means that you can't fix the column widths of the indicators if you want to show anything after the decimal points because it will reduce the space used by the temperature if it is an integer.
Can work around by rounding everything to no decimals except the temperature and putting the temp last, in my instance.
The text was updated successfully, but these errors were encountered: