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:
Thomas Burri 2025-01-08 17:19:26 +01:00
parent a406237d22
commit 1242c1ae3e
3 changed files with 2 additions and 2 deletions

View File

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