Cleanedup property names
This commit is contained in:
parent
c3731ca4b4
commit
12a6c1d31b
5 changed files with 14 additions and 9 deletions
|
|
@ -42,8 +42,8 @@ public class HalZWaveController implements HalSensorController, HalEventControll
|
|||
|
||||
@Override
|
||||
public boolean isAvailable() {
|
||||
return HalContext.getStringProperty(CONFIG_ZWAVE_PORT) != null &&
|
||||
HalContext.getStringProperty(CONFIG_ZWAVE_CFG_PATH) != null;
|
||||
return HalContext.containsProperty(CONFIG_ZWAVE_PORT) &&
|
||||
HalContext.containsProperty(CONFIG_ZWAVE_CFG_PATH);
|
||||
}
|
||||
@Override
|
||||
public void initialize() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue