76_Solarforcast: contrib 0.69.0

git-svn-id: https://svn.fhem.de/fhem/trunk@26530 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
DS_Starter
2022-10-12 14:11:29 +00:00
parent 7497bd2f82
commit e338e0dd51

View File

@@ -2732,8 +2732,11 @@ sub centralTask {
else {
my $new = gettimeofday()+$interval;
InternalTimer($new, "FHEM::SolarForecast::centralTask", $hash, 0); # Wiederholungsintervall
$hash->{MODE} = "Automatic - next Cycletime: ".FmtTime($new);
readingsSingleUpdate($hash, "nextCycletime", FmtTime($new), 1);
if(!IsDisabled($name)) {
$hash->{MODE} = "Automatic - next Cycletime: ".FmtTime($new);
readingsSingleUpdate($hash, "nextCycletime", FmtTime($new), 1);
}
}
return if(IsDisabled($name));