mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
Provide unit hint for water consumption channel (#16621)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
parent
e6829288fd
commit
26ef7b6ab7
@ -252,7 +252,7 @@
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="water-consumption">
|
||||
<item-type>Number:Volume</item-type>
|
||||
<item-type unitHint="l,gal">Number:Volume</item-type>
|
||||
<label>Water Consumption</label>
|
||||
<description>Water consumption by the currently running program on the appliance</description>
|
||||
<category>Water</category>
|
||||
@ -260,7 +260,7 @@
|
||||
<tag>Measurement</tag>
|
||||
<tag>Water</tag>
|
||||
</tags>
|
||||
<state readOnly="true" pattern="%.1f l"/>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="laundry-weight" advanced="true">
|
||||
|
Loading…
Reference in New Issue
Block a user