function buildByName(names, name, parentType) {
  const { types = {}, feature } = names[name] || {};
  const byType = buildByParentType(types, parentType);

  if (!byType && !feature) {
    return undefined;
  }

  return { ...(feature || {}), ...(byType || {}) };
}
@description Load feature from property name, completed by parent type.
@param {object} names - Zigbee "expose" proerty name features.
@param {string} name - Zigbee "expose" property name.
@param {string} parentType - Requested parent type.
@returns {object} The related Gladys feature, or undefined.
@example buildByName({ state: {}}, 'state', 'light');