Package org.openhab.binding.homematic.internal.model

Examples of org.openhab.binding.homematic.internal.model.HmDevice.addChannel()


    FieldUtils.writeField(device, "hmInterface", HmInterface.HOMEGEAR, true);

    Object[] channelList = (Object[]) deviceData.get("CHANNELS");
    for (int i = 0; i < channelList.length; i++) {
      Map<String, ?> channelData = (Map<String, ?>) channelList[i];
      device.addChannel(parseChannel(device, channelData));
    }

    return device;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.