Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Changed ESH-PREFIX and cleaned up warnings #2298

Merged
merged 1 commit into from
Oct 11, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
* used across the whole binding.
*
* @author Karel Goderis - Initial contribution
* @author Kai Kreuzer - Changed ESH-PREFIX and cleaned up warnings
*/
public class SonosBindingConstants {

public static final String BINDING_ID = "sonos";
public static final String ESH_PREFIX = "openHAB-";
public static final String ESH_PREFIX = "smarthome-";

// List of all Thing Type UIDs
// Column (:) is not used for PLAY:1, PLAY:3, PLAY:5 and CONNECT:AMP because of
Expand All @@ -41,11 +42,10 @@ public class SonosBindingConstants {
CONNECTAMP_THING_TYPE_UID);

public static final Set<ThingTypeUID> SUPPORTED_THING_TYPES_UIDS = new HashSet<ThingTypeUID>(
SUPPORTED_KNOWN_THING_TYPES_UIDS) {
{
add(ZONEPLAYER_THING_TYPE_UID);
}
};
SUPPORTED_KNOWN_THING_TYPES_UIDS);
static {
SUPPORTED_THING_TYPES_UIDS.add(ZONEPLAYER_THING_TYPE_UID);
}

// List of all Channel ids
public final static String ADD = "add";
Expand Down