mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-05 17:48:44 +00:00
10_RESIDENTS.pm: take original state for lastActivity instead of eventMap translated value
git-svn-id: https://svn.fhem.de/fhem/trunk@9953 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
62256ccd7a
commit
c7f6391a4c
@ -213,7 +213,7 @@ sub RESIDENTS_Notify($$) {
|
||||
|
||||
# update statistics
|
||||
readingsBeginUpdate($hash);
|
||||
readingsBulkUpdate( $hash, "lastActivity", $change );
|
||||
readingsBulkUpdate( $hash, "lastActivity", ReadingsVal($devName, "state", $change) );
|
||||
readingsBulkUpdate( $hash, "lastActivityBy", $realname );
|
||||
readingsBulkUpdate( $hash, "lastActivityByDev", $devName );
|
||||
readingsEndUpdate( $hash, 1 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user