mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-02-11 06:37:29 +01:00
[hdpowerview] Fix bug in discovered Bridge label (#18236)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
This commit is contained in:
parent
619bab34c9
commit
b3d5efcaba
@ -60,7 +60,7 @@ public class HDPowerViewSddpDiscoveryParticipant implements SddpDiscoveryPartici
|
||||
String label = generation == 3 //
|
||||
? String.format("@text/%s [\"%s\"]", LABEL_KEY_GATEWAY, device.ipAddress)
|
||||
: String.format("@text/%s [\"%s\", \"%s\"]",
|
||||
HDPowerViewHubMDNSDiscoveryParticipant.LABEL_KEY_HUB, device.ipAddress, generation);
|
||||
HDPowerViewHubMDNSDiscoveryParticipant.LABEL_KEY_HUB, generation, device.ipAddress);
|
||||
|
||||
DiscoveryResult hub = DiscoveryResultBuilder.create(thingUID)
|
||||
.withProperty(HDPowerViewHubConfiguration.HOST, device.ipAddress)
|
||||
|
Loading…
Reference in New Issue
Block a user