Signed-off-by: Laurent Garnier <lg.hc@free.fr>
if (fwVersion != null) {
properties.put(PROPERTY_FIRMWARE_VERSION, fwVersion);
}
- return DiscoveryResultBuilder.create(thingUID).withProperties(properties).withLabel("TRÅDFRI Gateway")
- .withRepresentationProperty(GATEWAY_CONFIG_HOST).build();
+ return DiscoveryResultBuilder.create(thingUID).withProperties(properties)
+ .withLabel("@text/discovery.gateway.label").withRepresentationProperty(GATEWAY_CONFIG_HOST)
+ .build();
} else {
logger.warn("Discovered Tradfri gateway doesn't have an IP address: {}", service);
}
channel-type.tradfri.position.label = Position
channel-type.tradfri.position.description = Control the position of the blind or curtain in percent from 0 (open) to 100 (closed).
+
+# discovery result
+
+discovery.gateway.label = TRÅDFRI Gateway