swiss-army-knife-card
swiss-army-knife-card copied to clipboard
Negative state value display with 2 signs '-'
Bug report notice
Before you file a bug, make sure that you did not make a configuration mistake. The Swiss Army Knife in its current state does not yet have full configuration sanity checks!
So make sure your problem is not related to that!
- [X ] Yes, I'm sure that it is not a configuration mistake
Bug description
Negative state value from entity is displaye with 2 signs '--'. Example: the value '-3' displays '--3'
To Reproduce
Each time some negative state value should be displayed
Expected behavior
Negative value should be displayed with only one sign "-"
Screenshots
Desktop browser (please complete the following information):
- OS: Windows
- Browser [Chrome ou Firefox]
Companion App on Smartphone/Tablet (please complete the following information):
- Device: [Poco F3]
- OS: [Android 12]
- Browser [Chrome]
Additional context Add any other context about the problem here.
Thank you for creating your first issue for the Swiss Army Knife custom card!
That looks like a regression.
Previously "0" was displayed as "-0". This was fixed, but obviously, some other bug was born 😨
I will fix that in the next release!