parent
382ce10a0a
commit
25498701bf
@ -325,7 +325,7 @@ public class SamsungTvHandler extends BaseThingHandler implements RegistryListen
|
|||||||
@Override
|
@Override
|
||||||
public void remoteDeviceAdded(@Nullable Registry registry, @Nullable RemoteDevice device) {
|
public void remoteDeviceAdded(@Nullable Registry registry, @Nullable RemoteDevice device) {
|
||||||
if (configuration.hostName != null && device != null && device.getIdentity() != null
|
if (configuration.hostName != null && device != null && device.getIdentity() != null
|
||||||
&& device.getIdentity().getDescriptorURL() == null
|
&& device.getIdentity().getDescriptorURL() != null
|
||||||
&& configuration.hostName.equals(device.getIdentity().getDescriptorURL().getHost())
|
&& configuration.hostName.equals(device.getIdentity().getDescriptorURL().getHost())
|
||||||
&& device.getType() != null) {
|
&& device.getType() != null) {
|
||||||
logger.debug("remoteDeviceAdded: {}, {}", device.getType().getType(),
|
logger.debug("remoteDeviceAdded: {}, {}", device.getType().getType(),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user