mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 12:46:03 +00:00
98_MSwitch.pm:FIX - repeat counter
git-svn-id: https://svn.fhem.de/fhem/trunk@20503 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8684d23adc
commit
eb33ea416f
@ -2425,7 +2425,7 @@ sub MSwitch_Cmd(@) {
|
||||
&& $devicedetails{ $device . '_repeattime' } > 0 )
|
||||
{
|
||||
my $i;
|
||||
for ( $i = 0 ;$i <= $devicedetails{ $device . '_repeatcount' };$i++ )
|
||||
for ( $i = 1 ;$i <= $devicedetails{ $device . '_repeatcount' };$i++ )
|
||||
{
|
||||
my $msg = $cmds . "|" . $Name;
|
||||
if ( $toggle ne '' )
|
||||
@ -7254,7 +7254,7 @@ sub MSwitch_Exec_Notif($$$$$) {
|
||||
&& $devicedetails{ $device . '_repeattime' } > 0 )
|
||||
{
|
||||
my $i;
|
||||
for ( $i = 0 ;
|
||||
for ( $i = 1;
|
||||
$i <= $devicedetails{ $device . '_repeatcount' } ;
|
||||
$i++ )
|
||||
{
|
||||
@ -7623,7 +7623,7 @@ sub MSwitch_Restartcmd($) {
|
||||
&& $devicedetails{ $device . '_repeattime' } > 0 )
|
||||
{
|
||||
my $i;
|
||||
for ( $i = 0 ;
|
||||
for ( $i = 1 ;
|
||||
$i <= $devicedetails{ $device . '_repeatcount' } ;
|
||||
$i++ )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user