2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

enable events on update readings

git-svn-id: https://svn.fhem.de/fhem/trunk@3002 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ntruchsess 2013-03-31 00:28:07 +00:00
parent 65058e9a29
commit 0bb592a6c0

View File

@ -70,7 +70,7 @@ FRM_IN_observer
main::readingsBulkUpdate($hash,"count",$count,1);
};
main::readingsBulkUpdate($hash,"reading",$new == PIN_HIGH ? "on" : "off", 1);
main::readingsEndUpdate($hash,0);
main::readingsEndUpdate($hash,1);
}
sub