climate: 
- platform: mqtt
  name: Thermostat
  current_temperature_topic: T5/Thermostat/status/temp
  temperature_state_topic: T5/Thermostat/status/currSetTemp
  #temperature_state_topic: T5/Thermostat/status/setTemp    # wenn die Absenktemperatur nicht ersichtlich sein soll
  temperature_command_topic: T5/Thermostat/setTemp
  availability_topic: T5/Thermostat/availability
  payload_available: "online"
  payload_not_available: "offline"
  qos: 2
  #target_temp_step: 0.5  ### leider nicht supported hier - muss via customize gemacht werden. 
  initial: 22.0
  min_temp: 16.0
  max_temp: 26.0
  #Top5/Thermostat/status/heating
  #power_state_topic: "Top5/Thermostat/status/heating"
  #payload_on: "on"
  #payload_off: "off"
  mode_command_topic: "T5/Thermostat/setMode"
  #mode_state_topic: "T5/Thermostat/status/heatingMode"
  mode_state_topic: "T5/Thermostat/status/heatingModeName"
  modes: ["Heizung aus", "Heizen", "Absenkung 1", "Absenkung 2"]
  #mode_state_template: >
  #  {% if value == "0" -%}Heizung aus
  #  {% elif value == "1" -%}Heizen
  #  {% elif value == "2" -%}Absenkung 1
  #  {% elif value == "3" -%}Absenkung 2
  #  {%- endif %}
  
  
  
in customize.yaml:
climate.thermostat:
  target_temp_step: 0.5

  
  
binary_sensor:
- platform: mqtt
  name: "Heizung aktiv"
  state_topic: "T5/Thermostat/status/heating"
  payload_on: "on"
  payload_off: "off"
  availability_topic: T5/Thermostat/availability
  payload_available: "online"
  payload_not_available: "offline"

  
sensor: 
- platform: mqtt
  name: Wohnzimmer Temp
  unit_of_measurement: '°C'
  device_class: temperature
  state_topic: "T5/Thermostat/status/temp"
  availability_topic: T5/Thermostat/availability
  payload_available: "online"
  payload_not_available: "offline"
- platform: mqtt
  name: Wohnzimmer Hum
  unit_of_measurement: '%'
  device_class: humidity
  state_topic: "T5/Thermostat/status/hum"
  availability_topic: T5/Thermostat/availability
  payload_available: "online"
  payload_not_available: "offline"