mirror of
https://github.com/danieldemus/openhab-addons
synced 2026-07-29 12:34:21 +02:00
Fix uppercase country (#21021)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
This commit is contained in:
+3
-1
@@ -12,6 +12,8 @@
|
||||
*/
|
||||
package org.openhab.binding.lgthinq.internal;
|
||||
|
||||
import java.util.Locale;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
|
||||
/**
|
||||
@@ -56,7 +58,7 @@ public class LGThinQBridgeConfiguration {
|
||||
|
||||
public String getCountry() {
|
||||
if ("--".equals(country)) {
|
||||
return manualCountry;
|
||||
return manualCountry.toUpperCase(Locale.ROOT);
|
||||
}
|
||||
return country;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user