mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
98_DOIF.pm: event reading e_... fixed
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16755 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4d0472b845
commit
55c5a3c13c
@ -2322,7 +2322,7 @@ DOIF_Notify($$)
|
||||
foreach my $item (split(/ /,$hash->{readings}{all})) {
|
||||
($device,$reading)=(split(":",$item));
|
||||
if ($item and $device eq $dev->{NAME} and defined ($defs{$device}{READINGS}{$reading})) {
|
||||
if (!AttrVal($pn, "checkReadingEvent", 1) or CheckReadingDoIf ($device,"$item",$eventas)) {
|
||||
if (!AttrVal($pn, "checkReadingEvent", 1) or CheckReadingDoIf ($dev->{NAME}," $item ",$eventas)) {
|
||||
readingsSingleUpdate ($hash, "e_".$dev->{NAME}."_".$reading,$defs{$device}{READINGS}{$reading}{VAL},0);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user