Need help with decluttering card (template)

Suggest to ask these question in the already present dedicated “decluttering-card” thread.
Also this.

Templates:

  decl_test_list_1:
    card:
      type: entities
      entities: '[[LIST]]'

  decl_test_list_2:
    default:
      - LIST:
          - entity: zone.home
            name: xxxxxxx
          - entity: sun.sun
            name: sssssss
    card:
      type: entities
      entities: '[[LIST]]'

Cards:

type: vertical-stack
cards:
  - type: custom:decluttering-card
    template: decl_test_list_1
    variables:
      - LIST:
          - sun.sun

  - type: custom:decluttering-card
    template: decl_test_list_1
    variables:
      - LIST:
          - entity: sun.sun
            name: yyyyyy

  - type: custom:decluttering-card
    template: decl_test_list_2

  - type: custom:decluttering-card
    template: decl_test_list_2
    variables:
      - LIST:
          - sun.sun
          - sun.sun
          - sun.sun

image