[tesla] Correctly handle floating point numbers (#9802)
Fixes #9636 Signed-off-by: Kai Kreuzer <kai@openhab.org>pull/9809/merge
parent
cdbf10efdb
commit
eea5750b73
|
@ -253,7 +253,7 @@
|
|||
<item-type>Number:Length</item-type>
|
||||
<label>Estimated Battery Range</label>
|
||||
<description>Estimated battery range</description>
|
||||
<state pattern="%d %unit%" readOnly="true"></state>
|
||||
<state pattern="%.0f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="estimatedrange" advanced="true">
|
||||
<item-type>Number</item-type>
|
||||
|
|
Loading…
Reference in New Issue