Update CloudService.java
Signed-off-by: Pasquale Pizzuti <paspiz85@users.noreply.github.com>pull/16477/head
parent
f165d43459
commit
c83f6f8cfa
|
@ -107,6 +107,13 @@ public class CloudService implements ActionService, CloudClientListener, EventSu
|
|||
this.eventPublisher = eventPublisher;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if openHAB Cloud connection is active
|
||||
*/
|
||||
public boolean isConnected() {
|
||||
return cloudClient.isConnected();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method sends notification message to mobile app through the openHAB Cloud service
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue