Package org.openhab.binding.homematic.internal.config

Examples of org.openhab.binding.homematic.internal.config.BindingAction


    Converter<?> converter = null;
    // if (helper.isValidDatapoint() || helper.isValidVariable()) {
    // converter = instantiateConverter(helper.converter);
    // }

    BindingAction bindingAction = getBindingAction(item, helper.action);

    if (helper.isValidDatapoint()) {
      return new DatapointConfig(helper.address, helper.channel, helper.parameter, converter, bindingAction,
          helper.isForceUpdate());
    } else if (helper.isValidVariable()) {
View Full Code Here


  private BindingAction getBindingAction(Item item, String action) {
    if (action == null) {
      return null;
    }

    BindingAction bindingAction = BindingAction.parse(action);
    if (bindingAction == null) {
      logger.warn("Can't parse action {}, only {} and {} allowed. Ignoring action parameter in item {}!", action,
          BindingAction.RELOAD_VARIABLES, BindingAction.RELOAD_DATAPOINTS, item.getName());
    } else if (!acceptsOnOffType(item)) {
      logger.warn(
View Full Code Here

TOP

Related Classes of org.openhab.binding.homematic.internal.config.BindingAction

Copyright © 2018 www.massapicom. 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.