mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[upnpcontrol] Set thingStatus UNKNOWN in intialize (#12880)
* Set thingStatus UNKNOWN in intialize Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
This commit is contained in:
parent
d7db798a6f
commit
62bb809f76
@ -191,6 +191,8 @@ public abstract class UpnpHandler extends BaseThingHandler implements UpnpIOPart
|
||||
protected void initDevice() {
|
||||
String udn = getUDN();
|
||||
if ((udn != null) && !udn.isEmpty()) {
|
||||
updateStatus(ThingStatus.UNKNOWN);
|
||||
|
||||
if (config.refresh == 0) {
|
||||
upnpScheduler.submit(this::initJob);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user