[tradfri] use serial as discovery representation property instead of host (#12389)

Signed-off-by: Stefan Triller <github@stefantriller.de>
This commit is contained in:
Stefan Triller
2022-02-28 18:53:16 +01:00
committed by GitHub
parent 166e4ec1b6
commit dd687435ec
3 changed files with 3 additions and 3 deletions

View File

@@ -114,7 +114,7 @@ public class TradfriDiscoveryParticipantOSGITest extends JavaOSGiTest {
assertThat(result.getProperties().get(Thing.PROPERTY_VENDOR), is("IKEA of Sweden"));
assertThat(result.getProperties().get(GATEWAY_CONFIG_HOST), is("192.168.0.5"));
assertThat(result.getProperties().get(GATEWAY_CONFIG_PORT), is(1234));
assertThat(result.getRepresentationProperty(), is(GATEWAY_CONFIG_HOST));
assertThat(result.getRepresentationProperty(), is(Thing.PROPERTY_SERIAL_NUMBER));
}
@Test