mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-19 08:28:46 +00:00
Finished Domoticz impl and secure calls for Home Assistant
This commit is contained in:
@@ -65,12 +65,7 @@ public class DomoticzHome implements Home {
|
||||
Iterator<DomoticzDevice> devices = theSourceList.iterator();
|
||||
while(devices.hasNext()) {
|
||||
DomoticzDevice theDevice = devices.next();
|
||||
DomoticzDevice aNewDomoticzDevice = new DomoticzDevice();
|
||||
aNewDomoticzDevice.setDevicetype(theDevice.getDevicetype());
|
||||
aNewDomoticzDevice.setDevicename(theDevice.getDevicename());
|
||||
aNewDomoticzDevice.setDomoticzaddress(domoticzs.get(theKey).getDomoticzAddress().getIp());
|
||||
aNewDomoticzDevice.setDomoticzname(theKey);
|
||||
theDeviceList.add(aNewDomoticzDevice);
|
||||
theDeviceList.add(theDevice);
|
||||
}
|
||||
anHttpHandler = new HTTPHandler();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user