From 82166b66921b20cf4bc341fab8856f7e8ccb56e8 Mon Sep 17 00:00:00 2001 From: Byte09 <> Date: Sat, 5 Jan 2019 14:17:03 +0000 Subject: [PATCH] 98_MSwitch.pm:Fix - condition format git-svn-id: https://svn.fhem.de/fhem/trunk@18145 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_MSwitch.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/fhem/FHEM/98_MSwitch.pm b/fhem/FHEM/98_MSwitch.pm index a671f9694..f494bb9e4 100644 --- a/fhem/FHEM/98_MSwitch.pm +++ b/fhem/FHEM/98_MSwitch.pm @@ -4314,6 +4314,7 @@ sub MSwitch_fhemwebFn($$$$) { delay2 = \$(\"[name=timeseton$_]\").val(); devices += delay2+'#[NF]'; devices1 = \$(\"[name=conditionon$_]\").val(); + devices1 = devices1.replace(/\\|/g,'(DAYS)'); devices2 = \$(\"[name=conditionoff$_]\").val(); devices2 = devices2.replace(/\\|/g,'(DAYS)'); devices += devices1+'#[NF]';