]> git.basschouten.com Git - openhab-addons.git/commitdiff
[milight] Fix minimum value for parameter repeat (#11367)
authorPatrick Fink <mail@pfink.de>
Sat, 16 Oct 2021 16:49:45 +0000 (18:49 +0200)
committerGitHub <noreply@github.com>
Sat, 16 Oct 2021 16:49:45 +0000 (18:49 +0200)
Signed-off-by: Patrick Fink <mail@pfink.de>
bundles/org.openhab.binding.milight/src/main/resources/OH-INF/thing/v3.xml
bundles/org.openhab.binding.milight/src/main/resources/OH-INF/thing/v6.xml

index 471e19d57e012b5ffa5be82050bd565cd6827fd2..92672a99d85c575aca5eba0f2448d05498ebce4d 100644 (file)
@@ -15,7 +15,7 @@
                                <description>You either need an IP/Hostname or the Bridge ID.</description>
                                <context>network-address</context>
                        </parameter>
-                       <parameter name="repeat" type="integer" required="false" min="0" max="5">
+                       <parameter name="repeat" type="integer" required="false" min="1" max="5">
                                <label>Repeat Commands</label>
                                <description>Usually the bridge receives all commands albeit UDP is used. But the actual bulbs might be slightly out
                                        of bridge radio range and it sometimes helps to send commands multiple times.
index f0d12c4b22f8ef910cef28cb86e19d62ec4ceed2..c98bef3e3b834e08f5cb390e987d3ba1eb4a0e68 100644 (file)
@@ -34,7 +34,7 @@
                                <context>password</context>
                                <default>0</default>
                        </parameter>
-                       <parameter name="repeat" type="integer" required="false" min="0" max="5">
+                       <parameter name="repeat" type="integer" required="false" min="1" max="5">
                                <label>Repeat Commands</label>
                                <description>Usually the bridge receives all commands albeit UDP is used. But the actual bulbs might be slightly out
                                        of bridge radio range and it sometimes helps to send commands multiple times.