use of org.openhab.binding.withings.WithingsBindingProvider in project openhab1-addons by openhab.
the class WithingsBinding method getWithingsBindings.
private Map<String, WithingsBindingConfig> getWithingsBindings() {
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;
}
Aggregations