Package org.openhab.core.items

Examples of org.openhab.core.items.GroupItem.send()


    if(itemRegistry!=null) {
      try {
        Item item = itemRegistry.getItem(itemName);
        if (item instanceof GroupItem) {
          GroupItem groupItem = (GroupItem) item;
          groupItem.send(command);
        }
      } catch (ItemNotFoundException e) {
        logger.debug("Received command for non-existing item: {}", e.getMessage());
      }
    }
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.