32_TechemHKV.pm: timestamp at midnight for log
git-svn-id: https://svn.fhem.de/fhem/trunk@10499 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -132,7 +132,7 @@ TechemHKV_Receive(@) {
|
||||
readingsBeginUpdate($hash);
|
||||
$hash->{".updateTimestamp"} = $ts;
|
||||
readingsBulkUpdate($hash, "current_period", $msg->{actualVal});
|
||||
$hash->{CHANGETIME}[0] = $ts;
|
||||
$hash->{CHANGETIME}->[0] = $ts;
|
||||
readingsEndUpdate($hash, 1);
|
||||
delete $hash->{CHANGETIME};
|
||||
}
|
||||
@@ -144,7 +144,7 @@ TechemHKV_Receive(@) {
|
||||
readingsBeginUpdate($hash);
|
||||
$hash->{".updateTimestamp"} = $ts;
|
||||
readingsBulkUpdate($hash, "previous_period", $msg->{lastVal});
|
||||
$hash->{CHANGETIME}[0] = $ts;
|
||||
$hash->{CHANGETIME}->[0] = $ts;
|
||||
readingsEndUpdate($hash, 1);
|
||||
delete $hash->{CHANGETIME};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user