mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
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:
parent
b99fbd5723
commit
37fbcb5453
@ -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};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user