2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-22 20:24:36 +00:00

98_DOIF.pm: fixed: item regex-check see rev. 18351

git-svn-id: https://svn.fhem.de/fhem/trunk@19786 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Damian 2019-07-05 21:47:08 +00:00
parent e03057bf2e
commit afa716e31e

View File

@ -2097,7 +2097,7 @@ sub CheckiTimerDoIf($$$) {
my $found;
return 1 if ($itimer =~ /\[$device(\]|,.+\])/);
for (my $j = 0; $j < $max; $j++) {
if ($eventa->[$j] =~ "^(.+): ") {
if ($eventa->[$j] =~ "^([^:]+): ") {
$found = ($itimer =~ /\[$device:$1(\]|:.+\]|,.+\])/);
if ($found) {
return 1;