2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 07:56:03 +00:00

98_MSwitch.pm:FIX substitution

git-svn-id: https://svn.fhem.de/fhem/trunk@17266 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Byte09 2018-09-04 03:35:11 +00:00
parent 2075a655f1
commit 4a116f5827

View File

@ -1543,7 +1543,9 @@ sub MSwitch_Cmd(@) {
InternalTimer( $timecond, "MSwitch_repeat", $msg ); InternalTimer( $timecond, "MSwitch_repeat", $msg );
} }
} }
$cmds =~ s/\n//g; #$cmds =~ s/\n//g;
my $todec = $cmds;
$cmds = MSwitch_dec($hash,$todec);
############################ ############################
if ( $cmds =~ m/{.*}/ ) if ( $cmds =~ m/{.*}/ )
{ {