Home Assistant integration.txt 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. climate:
  2. - platform: mqtt
  3. name: Thermostat
  4. current_temperature_topic: T5/Thermostat/status/temp
  5. temperature_state_topic: T5/Thermostat/status/currSetTemp
  6. #temperature_state_topic: T5/Thermostat/status/setTemp # wenn die Absenktemperatur nicht ersichtlich sein soll
  7. temperature_command_topic: T5/Thermostat/setTemp
  8. availability_topic: T5/Thermostat/availability
  9. payload_available: "online"
  10. payload_not_available: "offline"
  11. qos: 2
  12. #target_temp_step: 0.5 ### leider nicht supported hier - muss via customize gemacht werden.
  13. initial: 22.0
  14. min_temp: 16.0
  15. max_temp: 26.0
  16. #Top5/Thermostat/status/heating
  17. #power_state_topic: "Top5/Thermostat/status/heating"
  18. #payload_on: "on"
  19. #payload_off: "off"
  20. mode_command_topic: "T5/Thermostat/setMode"
  21. #mode_state_topic: "T5/Thermostat/status/heatingMode"
  22. mode_state_topic: "T5/Thermostat/status/heatingModeName"
  23. modes: ["Heizung aus", "Heizen", "Absenkung 1", "Absenkung 2"]
  24. #mode_state_template: >
  25. # {% if value == "0" -%}Heizung aus
  26. # {% elif value == "1" -%}Heizen
  27. # {% elif value == "2" -%}Absenkung 1
  28. # {% elif value == "3" -%}Absenkung 2
  29. # {%- endif %}
  30. in customize.yaml:
  31. climate.thermostat:
  32. target_temp_step: 0.5
  33. binary_sensor:
  34. - platform: mqtt
  35. name: "Heizung aktiv"
  36. state_topic: "T5/Thermostat/status/heating"
  37. payload_on: "on"
  38. payload_off: "off"
  39. availability_topic: T5/Thermostat/availability
  40. payload_available: "online"
  41. payload_not_available: "offline"
  42. sensor:
  43. - platform: mqtt
  44. name: Wohnzimmer Temp
  45. unit_of_measurement: '°C'
  46. device_class: temperature
  47. state_topic: "T5/Thermostat/status/temp"
  48. availability_topic: T5/Thermostat/availability
  49. payload_available: "online"
  50. payload_not_available: "offline"
  51. - platform: mqtt
  52. name: Wohnzimmer Hum
  53. unit_of_measurement: '%'
  54. device_class: humidity
  55. state_topic: "T5/Thermostat/status/hum"
  56. availability_topic: T5/Thermostat/availability
  57. payload_available: "online"
  58. payload_not_available: "offline"