Fixed build by improve config handling (#12078)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
committed by
GitHub
parent
cc437d86e2
commit
caa3359f53
@@ -1039,6 +1039,8 @@ public class HueBridgeHandler extends ConfigStatusBridgeHandler implements HueCl
|
||||
public Collection<ConfigStatusMessage> getConfigStatus() {
|
||||
// The bridge IP address to be used for checks
|
||||
// Check whether an IP address is provided
|
||||
hueBridgeConfig = getConfigAs(HueBridgeConfig.class);
|
||||
|
||||
String ip = hueBridgeConfig.getIpAddress();
|
||||
if (ip == null || ip.isEmpty()) {
|
||||
return List.of(ConfigStatusMessage.Builder.error(HOST)
|
||||
|
||||
Reference in New Issue
Block a user