]> git.basschouten.com Git - openhab-addons.git/commitdiff
[miele] Add categories and semantic tags (#14086)
authorJacob Laursen <jacob-github@vindvejr.dk>
Sat, 31 Dec 2022 14:01:11 +0000 (15:01 +0100)
committerGitHub <noreply@github.com>
Sat, 31 Dec 2022 14:01:11 +0000 (15:01 +0100)
* Add categories and tags

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
bundles/org.openhab.binding.miele/src/main/resources/OH-INF/thing/channeltypes.xml

index 84fa83d71becc53e34f04d4f3395dbc87140fce9..a17cc9723d6d0f93b2bdb163fb038a308a4d9dd0 100644 (file)
                <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">
                <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>
 
                <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>
 
                <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>
 
                <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>
 
                <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>