]> git.basschouten.com Git - openhab-addons.git/commitdiff
[hue] Semantics added to channel types (#10977)
authorlolodomo <lg.hc@free.fr>
Tue, 8 Feb 2022 22:03:31 +0000 (23:03 +0100)
committerGitHub <noreply@github.com>
Tue, 8 Feb 2022 22:03:31 +0000 (23:03 +0100)
* [hue] Semantics added to channel types

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
bundles/org.openhab.binding.hue/src/main/resources/OH-INF/thing/channels.xml

index 281643b64975a0bafd1082e18dc060c9cc4991fd..b6930e53482f25fff327f5201cb6c68624098b0b 100644 (file)
                <item-type>Number:Illuminance</item-type>
                <label>Illuminance</label>
                <description>Current illuminance.</description>
+               <tags>
+                       <tag>Measurement</tag>
+                       <tag>Light</tag>
+               </tags>
                <state readOnly="true" pattern="%.1f %unit%"/>
        </channel-type>
 
                <label>Temperature</label>
                <description>Current temperature.</description>
                <category>Temperature</category>
+               <tags>
+                       <tag>Measurement</tag>
+                       <tag>Temperature</tag>
+               </tags>
                <state readOnly="true" pattern="%.1f %unit%"/>
        </channel-type>
 
                <item-type>String</item-type>
                <label>Alert</label>
                <description>The alert channel allows a temporary change to the bulb’s state.</description>
+               <tags>
+                       <tag>Alarm</tag>
+               </tags>
                <state>
                        <options>
                                <option value="NONE">None</option>