openhab / openhab-ios

The repository of the iOS client
Eclipse Public License 2.0
193 stars 128 forks source link

Setpoint format strings have no effect #118

Closed gabriel-11 closed 7 years ago

gabriel-11 commented 7 years ago

Format strings for Setpoint labels are ignored in the OpenHAB iOS app.

Example:

Item: Number timestart "Time Start [%04d]" Sitemap: Setpoint item=timestart minValue=0 maxValue=2345 step=15

Should result in leading zeroes and no decimal point.

However, there are no leading zeroes and ".0" is always the last part of the Setpoint label.

HaKuNaCH commented 7 years ago

similar issue here: https://community.openhab.org/t/setpoint-in-sitemap-shows-1-decimal-digit-after-the-decimal-point/33800