mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 13:24:56 +00:00
98_DOIF.pm: reading matched fixed
git-svn-id: https://svn.fhem.de/fhem/trunk@10672 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c59da297c5
commit
6cd8085e0b
@ -920,7 +920,7 @@ sub CheckRegexpDoIf($$$$)
|
||||
if ($notifyExp eq "") {
|
||||
if ($cond ne "all") {
|
||||
$c=$cond+1;
|
||||
readingsSingleUpdate ($hash, "machted_event_c".$c."_".($i+1),"$events",0);
|
||||
readingsSingleUpdate ($hash, "matched_event_c".$c."_".($i+1),"$events",0);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
@ -934,7 +934,7 @@ sub CheckRegexpDoIf($$$$)
|
||||
if ($found) {
|
||||
if ($cond ne "all") {
|
||||
$c=$cond+1;
|
||||
readingsSingleUpdate ($hash, "machted_event_c".$c."_".($i+1),$s,0);
|
||||
readingsSingleUpdate ($hash, "matched_event_c".$c."_".($i+1),$s,0);
|
||||
}
|
||||
return 1
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user