Skip to content

Commit

Permalink
normalize thread name (see openhab#17804)
Browse files Browse the repository at this point in the history
Signed-off-by: AndrewFG <[email protected]>
  • Loading branch information
andrewfg committed Dec 4, 2024
1 parent febb897 commit 34d9731
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ private class StatusReceiver extends Thread {
private @Nullable DatagramSocket socket;

StatusReceiver() {
super("GoveeStatusReceiver");
super("OH-binding-" + GoveeBindingConstants.BINDING_ID + "-StatusReceiver");
}

synchronized void setDiscoveryResultsReceiver(@Nullable DiscoveryResultReceiver receiver) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class GoveeBindingConstants {
public static final String PRODUCT_NAME = "productName";
public static final String HW_VERSION = "wifiHardwareVersion";
public static final String SW_VERSION = "wifiSoftwareVersion";
private static final String BINDING_ID = "govee";
public static final String BINDING_ID = "govee";

// List of all Thing Type UIDs
public static final ThingTypeUID THING_TYPE_LIGHT = new ThingTypeUID(BINDING_ID, "govee-light");
Expand Down

0 comments on commit 34d9731

Please sign in to comment.