2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-10 08:04:00 +00:00

70_STV.pm: add sleep(1) with if case...

git-svn-id: https://svn.fhem.de/fhem/trunk@9842 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
bentele 2015-11-10 16:45:39 +00:00
parent 6bf4017c1b
commit ee71d01861

View File

@ -333,6 +333,7 @@ sub STV_55000($$$)
}
else {
foreach my $argnum (0 .. $#ARGV) {
sleep(1) if ($argnum > 0);
# Send remote key(s)
#Log4 $name, 4, "[STV] sending ".uc($ARGV[$argnum]);
my $key = "KEY_" . uc($ARGV[$argnum]);