mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-26 15:21:41 +01:00
Add semantic tags for advanced light channels (#16905)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
parent
d2466d53d3
commit
8cfe0d8c61
@ -242,6 +242,10 @@
|
|||||||
<label>Color XY Only</label>
|
<label>Color XY Only</label>
|
||||||
<description>Set the color xy parameter of the light without changing other state parameters.</description>
|
<description>Set the color xy parameter of the light without changing other state parameters.</description>
|
||||||
<category>ColorLight</category>
|
<category>ColorLight</category>
|
||||||
|
<tags>
|
||||||
|
<tag>Control</tag>
|
||||||
|
<tag>Light</tag>
|
||||||
|
</tags>
|
||||||
<autoUpdatePolicy>veto</autoUpdatePolicy>
|
<autoUpdatePolicy>veto</autoUpdatePolicy>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
|
|
||||||
@ -250,7 +254,11 @@
|
|||||||
<label>Dimming Only</label>
|
<label>Dimming Only</label>
|
||||||
<description>Set the dimming parameter of the light without changing other state parameters.</description>
|
<description>Set the dimming parameter of the light without changing other state parameters.</description>
|
||||||
<category>Light</category>
|
<category>Light</category>
|
||||||
<state pattern="%.1f %%"/>
|
<tags>
|
||||||
|
<tag>Control</tag>
|
||||||
|
<tag>Light</tag>
|
||||||
|
</tags>
|
||||||
|
<state min="0" max="100" pattern="%.1f %%"/>
|
||||||
<autoUpdatePolicy>veto</autoUpdatePolicy>
|
<autoUpdatePolicy>veto</autoUpdatePolicy>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
|
|
||||||
@ -259,6 +267,10 @@
|
|||||||
<label>On/Off Only</label>
|
<label>On/Off Only</label>
|
||||||
<description>Set the on/off parameter of the light without changing other state parameters.</description>
|
<description>Set the on/off parameter of the light without changing other state parameters.</description>
|
||||||
<category>Switch</category>
|
<category>Switch</category>
|
||||||
|
<tags>
|
||||||
|
<tag>Switch</tag>
|
||||||
|
<tag>Power</tag>
|
||||||
|
</tags>
|
||||||
<autoUpdatePolicy>veto</autoUpdatePolicy>
|
<autoUpdatePolicy>veto</autoUpdatePolicy>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user