[miele] Add categories and semantic tags (#14086)

* Add categories and tags

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen 2022-12-31 15:01:11 +01:00 committed by GitHub
parent 202a8647e0
commit 470ada241a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,6 +104,7 @@
<item-type>Switch</item-type>
<label>Switch</label>
<description>Switch the appliance on or off</description>
<category>Switch</category>
</channel-type>
<channel-type id="stop">
@ -133,6 +134,10 @@
<label>Current Temperature</label>
<description>Current temperature of the appliance</description>
<category>Temperature</category>
<tags>
<tag>Measurement</tag>
<tag>Temperature</tag>
</tags>
<state readOnly="true" pattern="%.0f %unit%"/>
</channel-type>
@ -141,6 +146,10 @@
<label>Target Temperature</label>
<description>Target temperature to be reached by the appliance</description>
<category>Temperature</category>
<tags>
<tag>Setpoint</tag>
<tag>Temperature</tag>
</tags>
<state readOnly="true" pattern="%.0f %unit%"/>
</channel-type>
@ -197,6 +206,7 @@
<item-type>String</item-type>
<label>Remaining Time</label>
<description>Remaining time of the heating zone/plate</description>
<category>Time</category>
<state readOnly="true"></state>
</channel-type>
@ -218,6 +228,11 @@
<item-type>Number:Energy</item-type>
<label>Power Consumption</label>
<description>Power consumption by the currently running program on the appliance</description>
<category>Energy</category>
<tags>
<tag>Measurement</tag>
<tag>Energy</tag>
</tags>
<state readOnly="true" pattern="%.1f %unit%"/>
</channel-type>
@ -225,6 +240,11 @@
<item-type>Number:Volume</item-type>
<label>Water Consumption</label>
<description>Water consumption by the currently running program on the appliance</description>
<category>Water</category>
<tags>
<tag>Measurement</tag>
<tag>Water</tag>
</tags>
<state readOnly="true" pattern="%.1f %unit%"/>
</channel-type>