Custom:card_templater displays the title section only

What’s wrong with my template here? Template editor is returning the right content however pasting the content into a custom:card-templater only the title is displayed :

type: custom:card-templater
card:
  type: entities
  title: Buiten Nieuw
  show_header_toggle: true
  state_color: true
  entities_template: >-
  
    {%- set target_areas = ['Voortuin', 'Achtertuin', 'Kerstmis'] -%}
    {%- set target_label = 'Lichten' -%}

    {%- for area in target_areas %}
      {%- set area_ents = area_entities(area) | list %}
      {%- set label_ents = label_entities(target_label) | list %}
      {%- set desired_ents = (area_ents | intersect(label_ents) | list | sort) %}
      {%- if desired_ents | length > 0 %}
    - type: section
      label: "{{ area }}"
        {%- for ent in desired_ents %}
    - entity: "{{ ent }}"
        {%- endfor %}
      {%- endif %}
    {%- endfor %}    

Result:

type: custom:card-templater
card:
  type: entities
  title: Buiten Nieuw
  show_header_toggle: true
  state_color: true
  entities_template: >-
    - type: section
      label: "Voortuin"
    - entity: "light.ltw010_tuin_7"
    - entity: "light.lwb006_voordeur"
    - entity: "light.lwb010_tuin_4"
    - entity: "light.lwb010_tuin_5"
    - type: section
      label: "Achtertuin"
    - entity: "light.econic_outdoor_post_1"
    - entity: "light.econic_outdoor_post_2"
    - entity: "light.econic_outdoor_post_3"
    - entity: "light.econic_outdoor_post_4"
    - entity: "light.econic_outdoor_post_5"
    - entity: "light.hue_econic_outdoor_post_1"
    - entity: "light.hue_outdoor_wall_1"
    - type: section
      label: "Kerstmis"
    - entity: "light.innr_plug_lampjes_eetkamer"
    - entity: "light.innr_plug_lampjes_hal"
    - entity: "light.innr_plug_lampjes_hal2"
    - entity: "light.innr_plug_lampjes_kerstboom"
    - entity: "light.innr_plug_reserve"

For this kind of a dynamic content, use a custom auto-entities card with s “template” option.
Note that your template returns a STRING (lines separated by breaks).
Not using this templater card myself, probably it expects a “list” object (auto-entities with “template” option does it too).

returning a list is the same behavior, only title is displayed…

type: custom:card-templater
card:
  type: entities
  title: Lights ON
  entities_template: >- 
    {{ states.light | selectattr("state", "equalto", "on") |
    map(attribute="entity_id") | list | sort }}

RESULT:

type: 'custom:card-templater'
card:
  type: entities
  title: Lights ON
  entities_template: >-
    ['light.badkamer', 'light.buro', 'light.buro_spots', 'light.buro_staanlamp', 'light.flinq_smart_star_projector', 'light.home', 'light.innr_plug_garage_webcam', 'light.innr_plug_kimderkamer_computer', 'light.innr_plug_lampjes_eetkamer', 'light.innr_plug_lampjes_hal', 'light.innr_plug_lampjes_hal2', 'light.innr_plug_lampjes_kerstboom', 'light.kerstmis', 'light.keuken_tafel', 'light.kinderkamer_computer', 'light.ltw010_slaapkamer_3', 'light.wc', 'light.zbeneden', 'light.zboven', 'light.zkerstmis', 'light.zkeuken']

Well, do you have that custom card installed?

Of course, if not I would have configuration errors…