]> git.basschouten.com Git - openhab-addons.git/commitdiff
[deconz] Pimp properties and channel types with proper categories (#10217)
authorChristoph Weitkamp <github@christophweitkamp.de>
Thu, 25 Feb 2021 22:13:59 +0000 (23:13 +0100)
committerGitHub <noreply@github.com>
Thu, 25 Feb 2021 22:13:59 +0000 (14:13 -0800)
* Pimp properties and channel types with proper categories
* Update bundles/org.openhab.binding.deconz/src/main/resources/OH-INF/thing/sensor-thing-types.xml

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
Co-authored-by: Matthew Skinner <matt@pcmus.com>
bundles/org.openhab.binding.deconz/src/main/resources/OH-INF/thing/sensor-thing-types.xml

index 5f26c7ff462094b7eeb3d3b6756e5ad1e428ebb9..a379d52af764156df6b5efcc8e60e4aa98034ca1 100644 (file)
@@ -97,6 +97,7 @@
                <item-type>Number:Energy</item-type>
                <label>Consumption</label>
                <description>Current consumption</description>
+               <category>Energy</category>
                <state readOnly="true" pattern="%.1f %unit%"></state>
        </channel-type>
 
                <item-type>Number:Temperature</item-type>
                <label>Temperature</label>
                <description>Current temperature</description>
+               <category>Temperature</category>
                <state readOnly="true" pattern="%.2f %unit%"></state>
        </channel-type>
 
                <item-type>Number:Dimensionless</item-type>
                <label>Humidity</label>
                <description>Current humidity</description>
+               <category>Humidity</category>
                <state readOnly="true" pattern="%.2f %unit%"></state>
        </channel-type>
 
                <item-type>Number:Pressure</item-type>
                <label>Pressure</label>
                <description>Current pressure</description>
+               <category>Pressure</category>
                <state readOnly="true" pattern="%.1f %unit%"></state>
        </channel-type>
 
 
        <channel-type id="heatsetpoint">
                <item-type>Number:Temperature</item-type>
-               <label>Target temperature</label>
+               <label>Target Temperature</label>
                <description>Target temperature</description>
+               <category>Heating</category>
                <state pattern="%.1f %unit%" step="0.5" max="28" min="6"></state>
        </channel-type>
        <channel-type id="mode">
                <item-type>String</item-type>
                <label>Mode</label>
                <description>Current mode</description>
+               <category>Heating</category>
                <state>
                        <options>
                                <option value="AUTO">auto</option>