mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
Make sure bridge status is set when returning from initialize (#11289)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
parent
f4816f5449
commit
277c65f43a
@ -685,6 +685,8 @@ public class HueBridgeHandler extends ConfigStatusBridgeHandler implements HueCl
|
||||
hueBridge = new HueBridge(ip, hueBridgeConfig.getPort(), hueBridgeConfig.getProtocol(), scheduler);
|
||||
hueBridge.setTimeout(5000);
|
||||
|
||||
updateStatus(ThingStatus.UNKNOWN);
|
||||
|
||||
// Try a first connection that will fail, then try to authenticate,
|
||||
// and finally change the bridge status to ONLINE
|
||||
initJob = scheduler.submit(new PollingRunnable() {
|
||||
|
Loading…
Reference in New Issue
Block a user