Add semantic tags for advanced light channels (#16905)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen 2024-06-22 20:41:57 +02:00 committed by GitHub
parent d2466d53d3
commit 8cfe0d8c61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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>