Add semantic tags for advanced light channels (#16905)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
Jacob Laursen 2024-06-22 20:41:57 +02:00 committed by Ciprian Pascu
parent 9ef18558ca
commit f6547c452c

View File

@ -242,6 +242,10 @@
<label>Color XY Only</label>
<description>Set the color xy parameter of the light without changing other state parameters.</description>
<category>ColorLight</category>
<tags>
<tag>Control</tag>
<tag>Light</tag>
</tags>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type>
@ -250,7 +254,11 @@
<label>Dimming Only</label>
<description>Set the dimming parameter of the light without changing other state parameters.</description>
<category>Light</category>
<state pattern="%.1f %%"/>
<tags>
<tag>Control</tag>
<tag>Light</tag>
</tags>
<state min="0" max="100" pattern="%.1f %%"/>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type>
@ -259,6 +267,10 @@
<label>On/Off Only</label>
<description>Set the on/off parameter of the light without changing other state parameters.</description>
<category>Switch</category>
<tags>
<tag>Switch</tag>
<tag>Power</tag>
</tags>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type>