2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

98_Siro.pm:fix fav / channel 0

git-svn-id: https://svn.fhem.de/fhem/trunk@19790 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Byte09 2019-07-07 05:36:30 +00:00
parent aa7b8b71cb
commit 74b31ec408

View File

@ -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;
}