code: def merge_dicts(dict_a, dict_b):
      
      duplicates = [val for val in dict_a if val in dict_b]
      if duplicates:
          _LOGGER.warning(("Duplicates found during merge: %s. "
                           "Renaming is recommended."), duplicates)
      return {**dict_a, **dict_b}
docs: Merge two dictionaries into one.