diff --git a/fhem/CHANGED b/fhem/CHANGED index 7f8d8faba..bad4c64d2 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: 12_HProtocolGateway: start poll timer - bugfix: 73_AutoShuttersControl: fix many bugs, support for max window contact sensors, fix set partyMode then Reading and set command equivalent diff --git a/fhem/FHEM/12_HProtocolGateway.pm b/fhem/FHEM/12_HProtocolGateway.pm index 7cfd4a8af..b26942d69 100644 --- a/fhem/FHEM/12_HProtocolGateway.pm +++ b/fhem/FHEM/12_HProtocolGateway.pm @@ -67,7 +67,7 @@ sub HProtocolGateway_Define($$) { HProtocolGateway_DeviceConfig($hash); - HProtocolGateway_Poll($hash) if defined(AttrVal($hash->{NAME}, 'pollIntervalMins', undef)); # if pollIntervalMins defind -> start timer + HProtocolGateway_Poll($hash); # s return undef; } @@ -334,7 +334,7 @@ sub HProtocolGateway_Attr (@) { if (defined($val)) { if ($val =~ m/^(0*[1-9][0-9]*)$/) { RemoveInternalTimer($hash); - HProtocolGateway_Poll($hash) if ($main::init_done); + HProtocolGateway_Poll($hash); } else { $msg = 'Wrong poll intervall defined. pollIntervalMins must be a number > 0'; }