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

98_MSwitch.pm:Fix - condition format

git-svn-id: https://svn.fhem.de/fhem/trunk@18145 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Byte09 2019-01-05 14:17:03 +00:00
parent c21612d8d0
commit 82166b6692

View File

@ -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]';