mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
SetExtensions.pm: remove eventmap workaround for EnOcean devices
git-svn-id: https://svn.fhem.de/fhem/trunk@6982 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
98885885b3
commit
369ad2e219
@ -32,7 +32,11 @@ SetExtensions($$@)
|
||||
$hasOn = ($em =~ m/:on\b/) if(!$hasOn);
|
||||
$hasOff = ($em =~ m/:off\b/) if(!$hasOff);
|
||||
}
|
||||
$cmd = ReplaceEventMap($name, $cmd, 1) if($cmd ne "?"); # Fix B0-for-timer
|
||||
# Following is fix for: /B0:on/on-for-timer 300:5 Minuten/
|
||||
# $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/
|
||||
(undef, $value) = ReplaceEventMap($name, [$name, $value], 0);
|
||||
}
|
||||
if(!$hasOn || !$hasOff) { # No extension
|
||||
|
Loading…
x
Reference in New Issue
Block a user