[tesla] Correctly handle floating point numbers (#9802)

Fixes #9636

Signed-off-by: Kai Kreuzer <kai@openhab.org>
pull/9809/merge
Kai Kreuzer 2021-01-13 20:53:10 +01:00 committed by GitHub
parent cdbf10efdb
commit eea5750b73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>