Bug: com.bwssystems.HABridge.plugins.hass.HassHome.addHassDevices(List,

List, String) has Boolean return type and returns explicit null
This commit is contained in:
gaudryc
2019-01-06 20:09:49 +01:00
parent f90f39e5f1
commit 9cbc290768

View File

@@ -98,7 +98,7 @@ public class HassHome implements Home {
private Boolean addHassDevices(List<HassDevice> theDeviceList, List<State> theSourceList, String theKey) {
if(!validHass)
return null;
return false;
Iterator<State> devices = theSourceList.iterator();
while(devices.hasNext()) {
State theDevice = devices.next();