mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 11:26:55 +00:00
RESIDENTS: add new reading
git-svn-id: https://svn.fhem.de/fhem/trunk@9126 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f812236e21
commit
0c4283cb17
@ -23,7 +23,7 @@
|
|||||||
# along with fhem. If not, see <http://www.gnu.org/licenses/>.
|
# along with fhem. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Version: 1.2.1
|
# Version: 1.2.2
|
||||||
#
|
#
|
||||||
# Major Version History:
|
# Major Version History:
|
||||||
# - 1.2.0 - 2015-03-11
|
# - 1.2.0 - 2015-03-11
|
||||||
@ -210,8 +210,9 @@ sub RESIDENTS_Notify($$) {
|
|||||||
|
|
||||||
# update statistics
|
# update statistics
|
||||||
readingsBeginUpdate($hash);
|
readingsBeginUpdate($hash);
|
||||||
readingsBulkUpdate( $hash, "lastActivity", $change );
|
readingsBulkUpdate( $hash, "lastActivity", $change );
|
||||||
readingsBulkUpdate( $hash, "lastActivityBy", $realname );
|
readingsBulkUpdate( $hash, "lastActivityBy", $realname );
|
||||||
|
readingsBulkUpdate( $hash, "lastActivityByDev", $devName );
|
||||||
readingsEndUpdate( $hash, 1 );
|
readingsEndUpdate( $hash, 1 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user