Examples of WithingsBindingConfig


Examples of org.openhab.binding.withings.WithingsBindingConfig

    Map<String, WithingsBindingConfig> bindings = new HashMap<String, WithingsBindingConfig>();

    for (WithingsBindingProvider provider : this.providers) {
      Collection<String> itemNames = provider.getItemNames();
      for (String itemName : itemNames) {
        WithingsBindingConfig config = provider.getItemConfig(itemName);
        bindings.put(itemName, config);
      }
    }

    return bindings;
View Full Code Here

Examples of org.openhab.binding.withings.WithingsBindingConfig

      }

      for (Entry<String, WithingsBindingConfig> withingBinding : withingsBindings
          .entrySet()) {

        WithingsBindingConfig withingsBindingConfig = withingBinding
            .getValue();
        String itemName = withingBinding.getKey();

        updateItemState(itemName, withingsBindingConfig, measures);
      }
View Full Code Here

Examples of org.openhab.binding.withings.WithingsBindingConfig

    if (measureType == null) {
      throw new BindingConfigParseException("Could not convert string '"
          + bindingConfig + "' to according measure type.");
    }

    WithingsBindingConfig config = new WithingsBindingConfig(measureType);

    addBindingConfig(item, config);
  }
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.