diff --git a/fhem/FHEM/98_Siro.pm b/fhem/FHEM/98_Siro.pm index 3a241e40f..360601f34 100644 --- a/fhem/FHEM/98_Siro.pm +++ b/fhem/FHEM/98_Siro.pm @@ -839,7 +839,14 @@ sub Set($@) { readingsSingleUpdate( $hash, "ActionTrigger", "fhem", 1 ); # name befehl befehlscode $hash->{helper}{exexcmd}="on"; - SendCommand( $hash, $sendCommands{$cmd} ); + + + Log3( $name, 5, "Siro-def0: sende kommando ".$sendCommands{$cmd}); + + if ($sendCommands{$cmd} eq 'fav'){ + SendCommand( $hash, 'stop' , 'longstop' );} + else{ + SendCommand( $hash, $sendCommands{$cmd} );} return; }