2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 06:48:43 +00:00

32_TechemHKV.pm: fix for event-on

git-svn-id: https://svn.fhem.de/fhem/trunk@10660 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
herrmannj 2016-01-29 20:43:54 +00:00
parent b3b44462dd
commit 2a8b7d5e82

View File

@ -151,7 +151,7 @@ TechemHKV_Receive(@) {
$hash->{".updateTimestamp"} = $ts;
$i = $#{ $hash->{CHANGED} };
readingsBulkUpdate($hash, "previous_period", $msg->{lastVal});
hash->{CHANGETIME}->[$#{ $hash->{CHANGED} }] = $ts if ($#{ $hash->{CHANGED} } != $i ); # only add ts if there is a event to
$hash->{CHANGETIME}->[$#{ $hash->{CHANGED} }] = $ts if ($#{ $hash->{CHANGED} } != $i ); # only add ts if there is a event to
readingsEndUpdate($hash, 1);
}