2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

SetExtensions.pm: correct the comment

git-svn-id: https://svn.fhem.de/fhem/trunk@6994 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-11-16 08:17:18 +00:00
parent ed51ccd9a1
commit ca2f7a1b79

View File

@ -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