From 0e047342ecc104d053a347f03be2fc034ef99f44 Mon Sep 17 00:00:00 2001 From: Byte09 <> Date: Sat, 1 Sep 2018 05:04:19 +0000 Subject: [PATCH] 98_MSwitch.pm:change loglevel git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17244 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/98_MSwitch.pm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/FHEM/98_MSwitch.pm b/FHEM/98_MSwitch.pm index 61f680dea..43325ea5d 100644 --- a/FHEM/98_MSwitch.pm +++ b/FHEM/98_MSwitch.pm @@ -513,11 +513,9 @@ sub MSwitch_Get($$@) { if ( $opt eq 'checkcondition' ) { my ( $condstring, $eventstring ) = split( /\|/, $args[0] ); - Log3( $name, 0,"cond: $condstring " . __LINE__ ); - Log3( $name, 0,"event: $eventstring " . __LINE__ ); - - - + #Log3( $name, 0,"cond: $condstring " . __LINE__ ); + #Log3( $name, 0,"event: $eventstring " . __LINE__ ); + $condstring =~ s/#\[dp\]/:/g; $condstring =~ s/#\[pt\]/./g; $condstring =~ s/#\[ti\]/~/g; @@ -6439,8 +6437,6 @@ sub MSwitch_makefreecmd($$) { my $name = $hash->{NAME}; my $ersetzung =""; - - $cs =~ s/#\[ti\]/~/g; # entferne kommntarzeilen