From 66e36b1b01d56a2b95409f48750596a2916c0b04 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/fhem@18145 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/98_MSwitch.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/FHEM/98_MSwitch.pm b/FHEM/98_MSwitch.pm index a671f9694..f494bb9e4 100644 --- a/FHEM/98_MSwitch.pm +++ b/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]';