mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 17:26: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:
parent
5d83e1c493
commit
dafb556b54
@ -858,7 +858,7 @@ sub SSCal_periodicCall($) {
|
|||||||
if(!$interval) {
|
if(!$interval) {
|
||||||
$hash->{MODE} = "Manual";
|
$hash->{MODE} = "Manual";
|
||||||
} else {
|
} else {
|
||||||
$new = gettimeofday()+$interval;
|
$new = gettimeofday()+$interval;
|
||||||
readingsBeginUpdate ($hash);
|
readingsBeginUpdate ($hash);
|
||||||
readingsBulkUpdate ($hash, "nextUpdate", "Automatic - next polltime: ".FmtTime($new)); # Abrufmode initial auf "Manual" setzen
|
readingsBulkUpdate ($hash, "nextUpdate", "Automatic - next polltime: ".FmtTime($new)); # Abrufmode initial auf "Manual" setzen
|
||||||
readingsEndUpdate ($hash,1);
|
readingsEndUpdate ($hash,1);
|
||||||
@ -2183,7 +2183,7 @@ sub SSCal_createReadings ($) {
|
|||||||
readingsBeginUpdate ($hash);
|
readingsBeginUpdate ($hash);
|
||||||
readingsBulkUpdateIfChanged ($hash, "Errorcode", "none");
|
readingsBulkUpdateIfChanged ($hash, "Errorcode", "none");
|
||||||
readingsBulkUpdateIfChanged ($hash, "Error", "none");
|
readingsBulkUpdateIfChanged ($hash, "Error", "none");
|
||||||
readingsBulkUpdate ($hash, "lastUpdate", $data{SSCal}{$name}{lastUpdate});
|
readingsBulkUpdate ($hash, "lastUpdate", FmtTime(time));
|
||||||
readingsBulkUpdate ($hash, "state", "done");
|
readingsBulkUpdate ($hash, "state", "done");
|
||||||
readingsEndUpdate ($hash,1);
|
readingsEndUpdate ($hash,1);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user