[dmx] Fix deprecated tag "required" (#10363)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo 2021-03-21 19:17:27 +01:00 committed by GitHub
parent 5c3941e0ad
commit 8293647df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 29 deletions

View File

@ -10,11 +10,10 @@
<channel id="mute" typeId="mute"/>
</channels>
<config-description>
<parameter name="address" type="text">
<parameter name="address" type="text" required="true">
<label>Receiver Address(es)</label>
<description>Network addresses of ArtNet receivers, format: address[:port][, address[:port], ...]. Default port is
6454.</description>
<required>true</required>
</parameter>
<parameter name="localaddress" type="text">
<label>Local Network Address</label>

View File

@ -16,21 +16,18 @@
<channel id="control" typeId="control"/>
</channels>
<config-description>
<parameter name="dmxid" type="text">
<parameter name="dmxid" type="text" required="true">
<label>DMX Channel Configuration</label>
<description>Format is channel[,channel, ...] or channel[/width]</description>
<required>true</required>
</parameter>
<parameter name="resumeafter" type="boolean">
<label>Resume After Finish</label>
<description>resume old actions after this completes</description>
<default>false</default>
<required>false</required>
</parameter>
<parameter name="steps" type="text">
<parameter name="steps" type="text" required="true">
<label>Step Configuration</label>
<description>fadeTime:value[, ...]:holdTime </description>
<required>true</required>
</parameter>
</config-description>
</thing-type>

View File

@ -18,10 +18,9 @@
<channel id="color" typeId="color"/>
</channels>
<config-description>
<parameter name="dmxid" type="text">
<parameter name="dmxid" type="text" required="true">
<label>DMX Channel Configuration</label>
<description>Format is channel[,channel, ...] or channel[/width], has to be multiple of three</description>
<required>true</required>
</parameter>
<parameter name="fadetime" type="integer" min="0">
<label>Fade Time</label>
@ -37,7 +36,6 @@
<label>Turn-On Value(s)</label>
<description>Format is "value[, value, ...]", has to be a multiple of three. If less values than channels are
defined, they are reused from the beginning.</description>
<required>false</required>
<advanced>true</advanced>
</parameter>
<parameter name="turnoffvalue" type="text">
@ -49,7 +47,6 @@
<parameter name="dynamicturnonvalue" type="boolean">
<label>Dynamic Turn-On Value</label>
<description>If enabled, values are stored on OFF command and restored on ON command</description>
<required>false</required>
<default>false</default>
</parameter>
</config-description>

View File

@ -16,10 +16,9 @@
<channel id="switch" typeId="switch"/>
</channels>
<config-description>
<parameter name="dmxid" type="text">
<parameter name="dmxid" type="text" required="true">
<label>DMX Channel Configuration</label>
<description>Format is channel[,channel, ...] or channel[/width]</description>
<required>true</required>
</parameter>
<parameter name="fadetime" type="integer" min="0">
<label>Fade Time</label>
@ -36,7 +35,6 @@
<description>Format is "value[, value, ...]". If less values than channels are defined, they are reused from the
beginning.
</description>
<required>false</required>
<advanced>true</advanced>
</parameter>
<parameter name="turnoffvalue" type="text">
@ -49,7 +47,6 @@
<parameter name="dynamicturnonvalue" type="boolean">
<label>Dynamic Turn-On Value</label>
<description>If enabled, values are stored on OFF command and restored on ON command</description>
<required>false</required>
<default>false</default>
</parameter>
</config-description>

View File

@ -10,10 +10,9 @@
<channel id="mute" typeId="mute"/>
</channels>
<config-description>
<parameter name="address" type="text">
<parameter name="address" type="text" required="true">
<label>Network Address</label>
<description>Network address of bridge, format: address[:port]. Default port is 9020.</description>
<required>true</required>
<default>localhost</default>
</parameter>
<parameter name="applycurve" type="text">

View File

@ -10,11 +10,10 @@
<channel id="mute" typeId="mute"/>
</channels>
<config-description>
<parameter name="mode" type="text">
<parameter name="mode" type="text" required="true">
<context></context>
<label>Transmission Mode</label>
<description>Set UDP mode to multicast (default)/unicast</description>
<required>true</required>
<options>
<option value="unicast">Unicast</option>
<option value="multicast">Multicast</option>
@ -25,24 +24,20 @@
<label>Receiver Address(es)</label>
<description>Network addresses of sACN/E1.31 receivers, format: address[:port][, address[:port], ...]. Default port
is 5568.</description>
<required>false</required>
</parameter>
<parameter name="localaddress" type="text">
<label>Local Network Address</label>
<description>Network address of the sending host, format: address[:port]. Default port is 0 (random)</description>
<required>false</required>
<advanced>true</advanced>
</parameter>
<parameter name="universe" type="integer" min="1" max="63999">
<label>DMX Universe</label>
<description>ID of DMX universe (1-63999)</description>
<default>1</default>
<required>false</required>
</parameter>
<parameter name="refreshmode" type="text">
<label>Refresh Mode</label>
<description>Suppress re-transmission and refresh every 800ms or send every packet.</description>
<required>false</required>
<options>
<option value="always">Always</option>
<option value="standard">Standard</option>
@ -53,12 +48,10 @@
<parameter name="applycurve" type="text">
<label>Apply Curve</label>
<description>List of channels that should use LED dim curve. Format is channel[,channel, ...] or channel[/width].</description>
<required>false</required>
<advanced>true</advanced>
</parameter>
<parameter name="refreshrate" type="decimal" min="0" max="100">
<description>DMX refresh rate in Hz</description>
<required>false</required>
<default>30</default>
<advanced>true</advanced>
</parameter>

View File

@ -18,10 +18,9 @@
<channel id="color_temperature" typeId="color_temperature"/>
</channels>
<config-description>
<parameter name="dmxid" type="text">
<parameter name="dmxid" type="text" required="true">
<label>DMX Channel Configuration</label>
<description>Format is channel[,channel, ...] or channel[/width], has to be an even number</description>
<required>true</required>
</parameter>
<parameter name="fadetime" type="integer" min="0">
<label>Fade Time</label>
@ -38,7 +37,6 @@
<description>Format is "value[, value, ...]", has to be a multiple of two. If less values than channels are defined,
they are reused from the beginning.
</description>
<required>false</required>
<advanced>true</advanced>
</parameter>
<parameter name="turnoffvalue" type="text">
@ -51,7 +49,6 @@
<parameter name="dynamicturnonvalue" type="boolean">
<label>Dynamic Turn-On Value</label>
<description>If enabled, values are stored on OFF command and restored on ON command</description>
<required>false</required>
<default>false</default>
</parameter>
</config-description>