Using template in name parameter of an entities card attribute type

I recently add the openweathermaphistory custom component (GitHub - petergridge/openweathermaphistory: A home assistant sensor that uses the OpenWeatherMap API to get the last 5 days rainfall) and I want to show the last 5 days of rainfall and snowfall as an entities card. I also would like to customize the name text to say Rainfall Wednesday or whatever day yesterday was. Using a template in the name section does not render. Here’s my YAML I’m trying to use:

type: entities
entities:
  - type: attribute
    entity: sensor.rainfactor
    attribute: day_1_rain
    name: >
      Rainfall {{ (now()-timedelta(days=1)).date().strftime('%A') }}
    suffix: in

Is this even possible?

It doesn’t work because Home Assistant’s standard set of cards do not support templates (with the exception of the Markdown card).

I suggest you consider creating a Template Sensor.