mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-02-04 03:14:07 +01:00
Fixed log string error
Signed-off-by: clinique <gael@lhopital.org>
This commit is contained in:
parent
f0ce2fc9fe
commit
eded3ca791
@ -91,7 +91,7 @@ public class RefreshCapability extends Capability {
|
|||||||
&& !ThingStatus.ONLINE.equals(accountHandler.getThing().getStatus())) {
|
&& !ThingStatus.ONLINE.equals(accountHandler.getThing().getStatus())) {
|
||||||
delay = accountHandler.getTimeBeforeReconnect();
|
delay = accountHandler.getTimeBeforeReconnect();
|
||||||
delay = delay != null ? delay.plus(ASAP) : OFFLINE_DELAY;
|
delay = delay != null ? delay.plus(ASAP) : OFFLINE_DELAY;
|
||||||
logger.debug("Bridge is not ONLINE, will wait for him to come-back {}", thingUID, delay);
|
logger.debug("Bridge is not ONLINE, will wait for him to come-back {}", delay);
|
||||||
} else {
|
} else {
|
||||||
delay = OFFLINE_DELAY;
|
delay = OFFLINE_DELAY;
|
||||||
logger.debug("Thing '{}' is not ONLINE, special refresh interval {} used", thingUID, delay);
|
logger.debug("Thing '{}' is not ONLINE, special refresh interval {} used", thingUID, delay);
|
||||||
|
Loading…
Reference in New Issue
Block a user