Remove immediate = true from all Components (#8615)
We recommend not to use this on add-ons. Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
This commit is contained in:
committed by
GitHub
parent
f06068a189
commit
003c3af985
@@ -51,7 +51,7 @@ import org.slf4j.LoggerFactory;
|
||||
*
|
||||
*/
|
||||
@NonNullByDefault
|
||||
@Component(service = DiscoveryService.class, immediate = true, configurationPid = "discovery.miio")
|
||||
@Component(service = DiscoveryService.class, configurationPid = "discovery.miio")
|
||||
public class MiIoDiscovery extends AbstractDiscoveryService {
|
||||
|
||||
/** The refresh interval for background discovery */
|
||||
|
||||
@@ -44,7 +44,7 @@ import org.slf4j.LoggerFactory;
|
||||
*
|
||||
*/
|
||||
@NonNullByDefault
|
||||
@Component(service = MDNSDiscoveryParticipant.class, immediate = true)
|
||||
@Component(service = MDNSDiscoveryParticipant.class)
|
||||
public class MiIoDiscoveryParticipant implements MDNSDiscoveryParticipant {
|
||||
|
||||
private final CloudConnector cloudConnector;
|
||||
|
||||
Reference in New Issue
Block a user