98_Siro.pm:Fix programming mode - wrong number of command repetitions

git-svn-id: https://svn.fhem.de/fhem/trunk@19771 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Byte09
2019-07-03 16:45:56 +00:00
parent 5676eff8e0
commit 1a78a5cfd5

View File

@@ -400,7 +400,8 @@ sub SendCommand($@) {
Log3( $name, 4,"Siro_sendCommand: args1 - $args[1]") if defined $args[1];
if ( (defined($args[1]) and $args[1] eq "longstop" )|| (defined $hash->{helper}{progmode} and $hash->{helper}{progmode} eq "on"))
#if ( (defined($args[1]) and $args[1] eq "longstop" )|| (defined $hash->{helper}{progmode} and $hash->{helper}{progmode} eq "on"))
if ( (defined($args[1]) and $args[1] eq "longstop" ))
{
$SignalRepeats = AttrVal( $name, 'SIRO_signalLongStopRepeats', '15' );
}
@@ -408,6 +409,8 @@ sub SendCommand($@) {
{
$SignalRepeats = AttrVal( $name, 'SIRO_signalRepeats', '10' );
}
Log3( $name, 5,"Siro_sendCommand: repeats - $SignalRepeats");