code: public void removeAttribute(final String attributeName) throws DevFailed {
          final AttributeImpl toRemove = dynamicAttributes.get(attributeName.toLowerCase(Locale.ENGLISH));
          if (toRemove == null)
              throw DevFailedUtils.newDevFailed("API_AttributeNotFound", "Attribute \'" + attributeName + "\' not found");
          if (toRemove.getBehavior() instanceof ForwardedAttribute) {
              final ForwardedAttribute att = (ForwardedAttribute) toRemove.getBehavior();
              final String lower = att.getRootName().toLowerCase(Locale.ENGLISH);
              forwardedAttributes.remove(lower);
          }
          deviceImpl.removeAttribute(toRemove);
          dynamicAttributes.remove(attributeName);
          deviceImpl.pushInterfaceChangeEvent(false);
      }
docs: remove a dynamic attribute
  
  @param attributeName attribute name
  @throws DevFailed