Skip to content

Commit

Permalink
[hue] Semantics added to channel types (openhab#10977)
Browse files Browse the repository at this point in the history
* [hue] Semantics added to channel types

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
  • Loading branch information
lolodomo authored and andan67 committed Nov 5, 2022
1 parent 7a98399 commit b72ecb4
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
<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>

Expand Down Expand Up @@ -125,6 +129,10 @@
<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>

Expand All @@ -133,6 +141,9 @@
<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>
Expand Down

0 comments on commit b72ecb4

Please sign in to comment.