mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
enable events on update readings
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3002 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c6af760dff
commit
f44d0ec78b
@ -70,7 +70,7 @@ FRM_IN_observer
|
|||||||
main::readingsBulkUpdate($hash,"count",$count,1);
|
main::readingsBulkUpdate($hash,"count",$count,1);
|
||||||
};
|
};
|
||||||
main::readingsBulkUpdate($hash,"reading",$new == PIN_HIGH ? "on" : "off", 1);
|
main::readingsBulkUpdate($hash,"reading",$new == PIN_HIGH ? "on" : "off", 1);
|
||||||
main::readingsEndUpdate($hash,0);
|
main::readingsEndUpdate($hash,1);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub
|
sub
|
||||||
|
Loading…
x
Reference in New Issue
Block a user