Examples of FritzahaWebserviceSwitch


Examples of org.openhab.binding.fritzaha.internal.hardware.devices.FritzahaWebserviceSwitch

    if (item instanceof SwitchItem) {
      if (configParts.length != 2) {
        throw new BindingConfigParseException("FritzAHA switches must be of format <hostID>,<deviceID/AIN>");
      }
      if (configParts[1].length() > 8) {
        config = new FritzahaWebserviceSwitch(configParts[0], configParts[1]);
      } else {
        config = new FritzahaQueryscriptSwitch(configParts[0], configParts[1]);
      }
    } else if (item instanceof NumberItem) {
      if (configParts.length < 3 || configParts.length > 4) {
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.