mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
98_RandomTimer.pm: next steps towards better PBP conformity II
git-svn-id: https://svn.fhem.de/fhem/trunk@21885 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
fa60ec1338
commit
b1e4b3c1d0
@ -97,7 +97,7 @@ sub Define {
|
||||
|
||||
RemoveInternalTimer($hash);
|
||||
my ($name, $type, $timespec_start, $device, $timespec_stop, $timeToSwitch, $variation) =
|
||||
split m{\s+}, $def;
|
||||
split m{\s+}xms, $def;
|
||||
|
||||
return "wrong syntax: define <name> RandomTimer <timespec_start> <device> <timespec_stop> <timeToSwitch> [<variations>]"
|
||||
if(!defined $timeToSwitch);
|
||||
|
Loading…
x
Reference in New Issue
Block a user