[dwdunwetter] Prevent exception when formatting value (#10556)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
Christoph Weitkamp 2021-04-24 12:27:19 +02:00 committed by GitHub
parent 9a225a9111
commit 8acf6e6829
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -114,13 +114,13 @@ This happens after all other channels are populated.]]></description>
<item-type>Number:Length</item-type> <item-type>Number:Length</item-type>
<label>Height (from)</label> <label>Height (from)</label>
<description>Lower Height above sea level for which the warning is valid.</description> <description>Lower Height above sea level for which the warning is valid.</description>
<state readOnly="true" pattern="%d m"/> <state readOnly="true" pattern="%.0f m"/>
</channel-type> </channel-type>
<channel-type id="ceiling"> <channel-type id="ceiling">
<item-type>Number:Length</item-type> <item-type>Number:Length</item-type>
<label>Height (to)</label> <label>Height (to)</label>
<description>Upper Height above sea level for which the warning is valid.</description> <description>Upper Height above sea level for which the warning is valid.</description>
<state readOnly="true" pattern="%d m"/> <state readOnly="true" pattern="%.0f m"/>
</channel-type> </channel-type>
<channel-type id="instruction"> <channel-type id="instruction">
<item-type>String</item-type> <item-type>String</item-type>