Skip to content

Commit

Permalink
Removed required=true for parameters with default value.
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Krivonog [email protected]
Signed-off-by: Boris Krivonog <[email protected]>
  • Loading branch information
crnjan committed Jun 2, 2021
1 parent 9d903c2 commit f8ca758
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<label>Command</label>
<description>Command to send</description>
</parameter>
<parameter name="delay" type="integer" required="true" min="0" unit="ms">
<parameter name="delay" type="integer" min="0" unit="ms">
<label>Delay</label>
<description>Delay in milliseconds before triggered</description>
<default>0</default>
Expand All @@ -21,7 +21,7 @@
</config-description>

<config-description uri="push-button:trigger-button:config">
<parameter name="threshold" type="integer" required="true" min="0" unit="ms">
<parameter name="threshold" type="integer" min="0" unit="ms">
<label>Threshold</label>
<description>Long-press threshold in milliseconds</description>
<default>1000</default>
Expand Down

0 comments on commit f8ca758

Please sign in to comment.