PID with homematic IP

Good morning, I have the following problem. I want to control my Homematic IP with the PID controller. The automation and configuration worked perfectly. The controllers for the other rooms that I then created using koie don’t work. However, it works via the dashboard. Can someone take a look at my configuration.yaml and automation.yaml and tell me what else I should try?
configuarion.yaml

climate:
  - platform: smart_thermostat
    name: Heizung kleine Bad
    unique_id: smart_thermostat_single_on_off_heat_example
    heater: switch.heizung_bad_klein_schalter_2
    target_sensor: sensor.bad_klein_temperature
    min_temp: 7
    max_temp: 28
    ac_mode: False
    target_temp: 19
    keep_alive:
      seconds: 60
    away_temp: 14
    kp: 50
    ki: 0.01
    kd: 2000
    pwm: 00:15:00

  - platform: smart_thermostat
    name: Heizung Wohnzimmer
    unique_id: smart_thermostat_single_on_off_wohnzimmer
    heater: switch.heizung_wohnzimmer
    target_sensor: sensor.wohnzimmer_temperature
    min_temp: 7
    max_temp: 28
    ac_mode: False
    target_temp: 19
    keep_alive:
      seconds: 60
    away_temp: 14
    kp: 50
    ki: 0.01
    kd: 2000
    pwm: 00:15:00

  - platform: smart_thermostat
    name: Heizung Kücke
    unique_id: smart_thermostat_single_on_off_kuech
    heater: switch.heizung_kuche_schalter_2
    target_sensor: sensor.kueche_temperature
    min_temp: 7
    max_temp: 28
    ac_mode: False
    target_temp: 19
    keep_alive:
      seconds: 60
    away_temp: 14
    kp: 50
    ki: 0.01
    kd: 2000
    pwm: 00:15:00

sensor:
  - platform: template
    sensors:
      wohnzimmer_temperature:
        friendly_name: "Wohnzimmer Temperature"
        unit_of_measurement: "°C"
        value_template: "{{ state_attr('climate.hm_tc_it_wm_w_eu_req0837770', 'current_temperature') }}"
  - platform: template
    sensors:
      bad_klein_temperature:
        friendly_name: "Bad Klein Temperature"
        unit_of_measurement: "°C"
        value_template: "{{ state_attr('climate.hm_tc_it_wm_w_eu_req0837768', 'current_temperature') }}"
  - platform: template
    sensors:
      kueche_temperature:
        friendly_name: "Küche Temperature"
        unit_of_measurement: "°C"
        value_template: "{{ state_attr('climate.hm_tc_it_wm_w_eu_req0837991', 'current_temperature') }}"

automation.yaml

- id: 08154711
  alias: sync_thermo
  description: ""
  trigger:
    - platform: state
      entity_id:
        - >-
          climate.hm_tc_it_wm_w_eu_req0837768
      attribute: temperature
      id: Physical change
  condition: []
  action:
    - service: climate.set_temperature
      target:
        entity_id: climate.smart_thermostat_single_on_off_heater_example
      data:
        temperature: >-
          {{
          state_attr('climate.hm_tc_it_wm_w_eu_req0837768','temperature')
          }}
  mode: single
- id: 08154712
  alias: sync_thermo_wz
  description: ""
  trigger:
    - platform: state
      entity_id:
        - >-
          climate.hm_tc_it_wm_w_eu_req0837770
      attribute: temperature
      id: Physical change
  condition: []
  action:
    - service: climate.set_temperature
      target:
        entity_id: climate.smart_thermostat_single_on_off_wohnzimmer
      data:
        temperature: >-
          {{
          state_attr('climate.hm_tc_it_wm_w_eu_req0837770','temperature')
          }}
  mode: single
- id: 08154713
  alias: sync_thermo_kueche
  description: ""
  trigger:
    - platform: state
      entity_id:
        - >-
          climate.hm_tc_it_wm_w_eu_req0837991
      attribute: temperature
      id: Physical change
  condition: []
  action:
    - service: climate.set_temperature
      target:
        entity_id: climate.smart_thermostat_single_on_off_kuech
      data:
        temperature: >-
          {{
          state_attr('climate.hm_tc_it_wm_w_eu_req0837991','temperature')
          }}
  mode: single