2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-12 22:56:34 +00:00

57_SSCal: contrib 1.14.0

git-svn-id: https://svn.fhem.de/fhem/trunk@21260 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-02-23 18:28:00 +00:00
parent 5d83e1c493
commit dafb556b54

View File

@ -858,7 +858,7 @@ sub SSCal_periodicCall($) {
if(!$interval) {
$hash->{MODE} = "Manual";
} else {
$new = gettimeofday()+$interval;
$new = gettimeofday()+$interval;
readingsBeginUpdate ($hash);
readingsBulkUpdate ($hash, "nextUpdate", "Automatic - next polltime: ".FmtTime($new)); # Abrufmode initial auf "Manual" setzen
readingsEndUpdate ($hash,1);
@ -2183,7 +2183,7 @@ sub SSCal_createReadings ($) {
readingsBeginUpdate ($hash);
readingsBulkUpdateIfChanged ($hash, "Errorcode", "none");
readingsBulkUpdateIfChanged ($hash, "Error", "none");
readingsBulkUpdate ($hash, "lastUpdate", $data{SSCal}{$name}{lastUpdate});
readingsBulkUpdate ($hash, "lastUpdate", FmtTime(time));
readingsBulkUpdate ($hash, "state", "done");
readingsEndUpdate ($hash,1);