use of org.openhab.core.types.Command in project openhab1-addons by openhab.
the class IRtransGenericBindingProvider method getAllCommands.
/**
* {@inheritDoc}
*/
@Override
public List<Command> getAllCommands(String itemName) {
List<Command> commands = new ArrayList<Command>();
IRtransBindingConfig aConfig = (IRtransBindingConfig) bindingConfigs.get(itemName);
for (Command aCommand : aConfig.keySet()) {
commands.add(aCommand);
}
return commands;
}
Aggregations