Signed-off-by: morph166955 <rosenblumb@gmail.com>
pull/9766/head^2
morph166955 2021-01-09 17:34:42 -06:00 committed by GitHub
parent 382ce10a0a
commit 25498701bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ public class SamsungTvHandler extends BaseThingHandler implements RegistryListen
@Override
public void remoteDeviceAdded(@Nullable Registry registry, @Nullable RemoteDevice device) {
if (configuration.hostName != null && device != null && device.getIdentity() != null
&& device.getIdentity().getDescriptorURL() == null
&& device.getIdentity().getDescriptorURL() != null
&& configuration.hostName.equals(device.getIdentity().getDescriptorURL().getHost())
&& device.getType() != null) {
logger.debug("remoteDeviceAdded: {}, {}", device.getType().getType(),