Seal including heating or cooling feature