mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
fixed too many parameters
git-svn-id: https://svn.fhem.de/fhem/trunk@2938 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
08364436dd
commit
b3b5c0f0bf
@ -49,7 +49,7 @@ THRESHOLD_Define($$$)
|
||||
my $cmd_default="";
|
||||
my $actor="";
|
||||
|
||||
if (@b > 4 || @a < 3 || @a > 5) {
|
||||
if (@b > 4 || @a < 3 || @a > 6) {
|
||||
my $msg = "wrong syntax: define <name> THRESHOLD " .
|
||||
"<sensor>[:<reading>[:<hysteresis>][:<init_desired_value>] [AND|OR <sensor2>[:<reading2>][:<state>]] [<actor>][|<cmd1>][|<cmd2>][|<cmd_default_index>]";
|
||||
Log 2, $msg;
|
||||
|
Loading…
x
Reference in New Issue
Block a user