From 64f48916ac52a86bd8833eddd7e64cdb5d6923ea Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Wed, 12 Oct 2022 14:11:29 +0000 Subject: [PATCH] 76_Solarforcast: contrib 0.69.0 git-svn-id: https://svn.fhem.de/fhem/trunk@26530 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/76_SolarForecast.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index abf65a133..73093c161 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -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));