Lovelace card-templater card (Jinja2 card templating in Lovelace!)

Well, I tried with other cards without any success. Following code is not working. Instead of displaying the name in field nam_template, I get a ‘-’

I’m not sure this card is still working… too bad

EDIT: All recent posts seem to say the same thing. I guess this card is not working anymore !!

type: custom:card-templater
card:
  type: custom:mushroom-person-card
  entity: person.tom
  name_template: >-
    "Tom {% if state_attr('sensor.mg','conducteur')|string == 'Tom' %}driving MG{% endif %}"
  fill_container: true
  icon_type: entity-picture