From ca2f7a1b7977e91db35dba2863e9565d2f33b611 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 16 Nov 2014 08:17:18 +0000 Subject: [PATCH] SetExtensions.pm: correct the comment git-svn-id: https://svn.fhem.de/fhem/trunk@6994 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/SetExtensions.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fhem/FHEM/SetExtensions.pm b/fhem/FHEM/SetExtensions.pm index e90e6cec7..8e2b4f3e9 100644 --- a/fhem/FHEM/SetExtensions.pm +++ b/fhem/FHEM/SetExtensions.pm @@ -32,11 +32,10 @@ SetExtensions($$@) $hasOn = ($em =~ m/:on\b/) if(!$hasOn); $hasOff = ($em =~ m/:off\b/) if(!$hasOff); } - # Following is fix for: /B0:on/on-for-timer 300:5 Minuten/ + # Following is fix for P#1: /B0:on/on-for-timer 300:5Min/ # $cmd = ReplaceEventMap($name, $cmd, 1) if($cmd ne "?"); - # Has problem with (Forum #28855): - # /on-for-timer 300:5 Minuten/on:Ein/ -> Ein-for-timer - # Workaround for Problem#1 /on-for-timer 300:5 Minuten/B0:on/ + # Has problem with P#2 (Forum #28855): /on-for-timer 300:5Min/on:Ein/ + # Workaround for P#1 /on-for-timer 300:5Min/on-for-timer:on-for-timer/B0:on/ (undef, $value) = ReplaceEventMap($name, [$name, $value], 0); } if(!$hasOn || !$hasOff) { # No extension