Skip to content

Commit

Permalink
[miele] Add categories and semantic tags (openhab#14086)
Browse files Browse the repository at this point in the history
* Add categories and tags

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
  • Loading branch information
jlaur authored and renescherer committed Mar 23, 2023
1 parent a3df667 commit f3bfca6
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down Expand Up @@ -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>

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

Expand Down Expand Up @@ -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>

Expand All @@ -218,13 +228,23 @@
<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>

<channel-type id="waterConsumption">
<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>

Expand Down

0 comments on commit f3bfca6

Please sign in to comment.