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:
Jacob Laursen 2024-04-07 10:06:02 +02:00 committed by Ciprian Pascu
parent e6829288fd
commit 26ef7b6ab7

View File

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