mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
Updated pattern to two decimal places as pressure shall be visualized in
bar (via unit metadata). Signed-off-by: Thomas Burri <th@thonojato.ch>
This commit is contained in:
parent
a406237d22
commit
1242c1ae3e
@ -270,13 +270,13 @@
|
||||
<item-type>Number:Pressure</item-type>
|
||||
<label>High Pressure</label>
|
||||
<category>pressure</category>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="low-pressure-type">
|
||||
<item-type>Number:Pressure</item-type>
|
||||
<label>Low Pressure</label>
|
||||
<category>pressure</category>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user