diff --git a/fhem/CHANGED b/fhem/CHANGED index fe4ff25c2..7ecff2d4b 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 98_serviced: serviceAutostop triggered even if device is disabled - change: 50_TelegramBot: new reading msgDate and corrections - feature: 72_FRITZBOX: Attr. enableWanInfo -> enableWLANneighbors Attr. wlanNeighborsPrefix diff --git a/fhem/FHEM/98_serviced.pm b/fhem/FHEM/98_serviced.pm index 7e78c7d00..0e08b83d0 100644 --- a/fhem/FHEM/98_serviced.pm +++ b/fhem/FHEM/98_serviced.pm @@ -16,7 +16,7 @@ use Blocking; use Time::HiRes; use vars qw{%defs}; -my $servicedVersion = "1.2.8"; +my $servicedVersion = "1.2.9"; sub serviced_shutdownwait($); @@ -403,6 +403,7 @@ sub serviced_Shutdown($) my ($hash) = @_; my $name = $hash->{NAME}; my $autostop = AttrNum($name,"serviceAutostop",0); + return if (IsDisabled($name)); $autostop = $autostop > 300 ? 300 : $autostop; if ($autostop) {