Templating entity-progress-card-template

Hi!
I want to visualize the opening percentage of each valve in a floor heating system. I’m using HomeMatic and the dispatch device gives me a percentage sensor for each channel. They are named like “number.hmip_falmot_c12_001ba2698b1c1f_level_chN”
Unfortunately I cannot even the simplest templates getting to run.
Here is an example I made:

type: custom:entity-progress-card-template
title: Heizkreisverteiler EG
template:
  layout: horizontal
  icon: mdi:valve
  primary: Wohnzimmer
  secondary: "{{ states(entity) | float | round(0) }} %"
  value: "{{ states(entity) | float }}"
  color: orange
  progress-bar:
    height: 16px
    border-radius: 8px
grid_options:
  columns: 12
  rows: 1
entities:
  - entity: number.hmip_falmot_c12_001ba2698b1c1f_level_ch1
  - entity: number.hmip_falmot_c12_001ba2698b1c1f_level_ch3
  - entity: number.hmip_falmot_c12_001ba2698b1c1f_level_ch4

Where is my mistake?

I tried to reduce the problem in making an entity-progress-card-tempalte looking the same as an entity-progress-card.
Here is the original:

type: custom:entity-progress-card
max_value: 100
bar_color: orange
layout: horizontal
name: Wohnzimmer (vor Kamin)
bar_size: small
bar_effect: radius
icon: mdi:valve
entity: number.hmip_falmot_c12_001ba2698b1c1f_level_ch4
grid_options:
  columns: 12
  rows: 1

and this should look exactly identical - but it doesnt show anythinh:

type: custom:entity-progress-card-template
title: EG
entity: number.hmip_falmot_c12_001ba2698b1c1f_level_ch4
layout: horizontal
name: Wohnzimmer (vor Kamin)
icon: mdi:valve
bar_size: small
bar_effect: radius
bar_color: orange
trend_indicator: true
grid_options:
  columns: 12
  rows: 1