diff --git a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/type/MetadataUtils.java b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/type/MetadataUtils.java index 45940748db527..ccbc42b67f1ac 100644 --- a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/type/MetadataUtils.java +++ b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/type/MetadataUtils.java @@ -62,7 +62,7 @@ protected static void initialize() { private static void loadBundle(String filename) { descriptionsBundle = ResourceBundle.getBundle(filename, Locale.getDefault()); for (String key : descriptionsBundle.keySet()) { - descriptions.put(key, descriptionsBundle.getString(key)); + descriptions.put(key.toUpperCase(), descriptionsBundle.getString(key)); } ResourceBundle.clearCache(); descriptionsBundle = null; @@ -200,7 +200,7 @@ public static String getDescription(String... keys) { if (key.endsWith("|")) { key = key.substring(0, key.length() - 1); } - String description = descriptions.get(key); + String description = descriptions.get(key.toUpperCase()); if (description != null) { return description; }