Skip to content

Commit

Permalink
[hdpowerview] Fix bug in discovered Bridge label (openhab#18236)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Christian Koch <78686276+chilobo@users.noreply.github.com>
  • Loading branch information
andrewfg authored and chilobo committed Feb 10, 2025
1 parent d8afb6a commit 628153a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public Set<ThingTypeUID> getSupportedThingTypeUIDs() {
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)
Expand Down

0 comments on commit 628153a

Please sign in to comment.