Fixed declaration of representation property (#9073)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
pull/9077/head
Kai Kreuzer 2020-11-19 20:06:13 +01:00 committed by GitHub
parent c297134030
commit 4385708f96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -83,7 +83,8 @@ public class MieleMDNSDiscoveryParticipant implements MDNSDiscoveryParticipant {
}
return DiscoveryResultBuilder.create(uid).withProperties(properties)
.withRepresentationProperty(uid.getId()).withLabel("Miele XGW3000 Gateway").build();
.withRepresentationProperty(MieleBindingConstants.HOST).withLabel("Miele XGW3000 Gateway")
.build();
}
}
return null;