From 29f0cb31b875fd8ee7432d8109bffb6788b86f65 Mon Sep 17 00:00:00 2001 From: Byte09 <> Date: Mon, 10 Sep 2018 18:11:52 +0000 Subject: [PATCH] 98_MSwitch.pm:fix event handling git-svn-id: https://svn.fhem.de/fhem/trunk@17319 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_MSwitch.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/98_MSwitch.pm b/fhem/FHEM/98_MSwitch.pm index 91eda0f3c..99947e84c 100644 --- a/fhem/FHEM/98_MSwitch.pm +++ b/fhem/FHEM/98_MSwitch.pm @@ -747,8 +747,8 @@ sub MSwitch_Set($@) { if ((($cmd eq 'on') || ($cmd eq 'off')) && ($args[0] ne '')) { readingsSingleUpdate( $hash, "Parameter", $args[0], 1 ); - if ($cmd eq 'on'){$args[0] = "$name:on_with_Parameter:$args[0]";} - if ($cmd eq 'off'){$args[0] = "$name:off_with_Parameter:$args[0]";} + #if ($cmd eq 'on'){$args[0] = "$name:on_with_Parameter:$args[0]";} + #if ($cmd eq 'off'){$args[0] = "$name:off_with_Parameter:$args[0]";} } #######################################