[somfytahoma] fixed action groups execution (#10488)
Fixes #10489 Signed-off-by: Ondrej Pecta <opecta@gmail.com>
This commit is contained in:
parent
223a745946
commit
16614254c8
@ -39,6 +39,7 @@ public class SomfyTahomaActionGroupHandler extends SomfyTahomaBaseThingHandler {
|
||||
@Override
|
||||
public void initializeThing(@Nullable ThingStatus bridgeStatus) {
|
||||
if (bridgeStatus != null) {
|
||||
url = getURL();
|
||||
if (bridgeStatus == ThingStatus.ONLINE) {
|
||||
updateStatus(ThingStatus.ONLINE);
|
||||
} else {
|
||||
|
||||
@ -151,7 +151,7 @@ public abstract class SomfyTahomaBaseThingHandler extends BaseThingHandler {
|
||||
return localBridge != null ? (SomfyTahomaBridgeHandler) localBridge.getHandler() : null;
|
||||
}
|
||||
|
||||
private String getURL() {
|
||||
protected String getURL() {
|
||||
return getThing().getConfiguration().get("url") != null ? getThing().getConfiguration().get("url").toString()
|
||||
: "";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user