mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 14:04:15 +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:
parent
aa7b8b71cb
commit
74b31ec408
@ -839,7 +839,14 @@ sub Set($@) {
|
|||||||
readingsSingleUpdate( $hash, "ActionTrigger", "fhem", 1 );
|
readingsSingleUpdate( $hash, "ActionTrigger", "fhem", 1 );
|
||||||
# name befehl befehlscode
|
# name befehl befehlscode
|
||||||
$hash->{helper}{exexcmd}="on";
|
$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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user