Skip to content

Commit

Permalink
Removed required=true for parameters with default value. (openhab#10795)
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Krivonog <[email protected]>
  • Loading branch information
crnjan authored Jun 5, 2021
1 parent 832877a commit c8a4e10
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 c8a4e10

Please sign in to comment.