Closed jimtng closed 2 years ago
When an item's state description doesn't include a space between the format and unit, e.g.
Number:Temperature TempItem "Temp [%d°C]"
UnitUtils.parse_unit failed to extract the unit, and as a result, quantify failed to unitize the returned value.
UnitUtils.parse_unit
quantify
It works fine when there's space separating the format and unit.
Apparently a space is required.
When an item's state description doesn't include a space between the format and unit, e.g.
UnitUtils.parse_unit
failed to extract the unit, and as a result,quantify
failed to unitize the returned value.It works fine when there's space separating the format and unit.