Problem with AVM Fritz Dect 200

I have added the Dect 200 as a switch.
Now I wanted to integrate the sensors according to the instructions.
As soon as I add total_consumption the configuration is no longer OK when checking.

    - platform: template
          friendly_name_template: "{{}} Aktueller Verbrauch"
          value_template: '{{ states.switch.pool_salz.attributes["current_power_w"] | float }}'
          unit_of_measurement: 'W'
          friendly_name_template: "{{}} Gesamt Verbrauch"
          value_template: '{{ states.switch.pool_salz.attributes["total_consumption"] | float }}'
          unit_of_measurement: 'kWh'
          friendly_name_template: "{{}} Aktuelle Temperatur"
          value_template: '{{ states.switch.pool_salz.attributes["temperature"] | float }}'
          unit_of_measurement: '°C'
  Invalid config for [sensor.template]: invalid slug pool_salz_total_kWh (try pool_salz_total_kwh) for dictionary value @ data['sensors']. Got OrderedDict([('pool_salz_watts', OrderedDict([('friendly_name_template', '{{}} Aktueller Verbrauch'), ('value_template', '{{ states.switch.pool_salz.attributes["current_power_w"] | float }}'), ('unit_of_measurement', 'W')])), ('pool_salz_temperature', OrderedDict([('friendly_name_template', '{{}} Aktuelle Temperatur'), ('value_template', '{{ states.switch.pool_salz.attributes["temperature"] | float }}'), ('unit_of_measurement', '°C')]).... (See ?, line ?). 

you need to use lowercase only names for sensor names.