hi235221

Automation

Mar 6th, 2026
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.56 KB | None | 0 0
  1. alias: Klimaanlage intelligent – Tag AUS, Abend EIN
  2. mode: single
  3.  
  4. triggers:
  5. - trigger: sun
  6. event: sunset
  7. id: evening_on
  8. - trigger: time
  9. at: "18:00:00"
  10. id: evening_fallback
  11. - trigger: time
  12. at: "10:00:00"
  13. id: morning_off
  14. - trigger: numeric_state
  15. entity_id: sensor.mareike_outdoor_temperature
  16. below: 0
  17. for: "00:10:00"
  18. id: cold_stable
  19. - trigger: numeric_state
  20. entity_id: sensor.mareike_outdoor_temperature
  21. above: 0
  22. below: 20
  23. for: "00:10:00"
  24. id: mild_stable
  25. - trigger: numeric_state
  26. entity_id: sensor.mareike_outdoor_temperature
  27. above: 20
  28. for: "00:10:00"
  29. id: warm_stable
  30. - trigger: numeric_state
  31. entity_id: climate.air_conditioner_4
  32. attribute: current_temperature
  33. below: 10
  34. for: "00:05:00"
  35. id: room_too_cold
  36.  
  37. actions:
  38. - choose:
  39. - conditions:
  40. - condition: trigger
  41. id: morning_off
  42. sequence:
  43. - action: climate.turn_off
  44. target:
  45. entity_id: climate.air_conditioner_4
  46.  
  47. - conditions:
  48. - condition: trigger
  49. id: room_too_cold
  50. - condition: time
  51. after: "10:00:00"
  52. before: "18:00:00"
  53. sequence:
  54. - action: climate.set_hvac_mode
  55. target:
  56. entity_id: climate.air_conditioner_4
  57. data:
  58. hvac_mode: heat
  59. - action: climate.set_temperature
  60. target:
  61. entity_id: climate.air_conditioner_4
  62. data:
  63. temperature: 21
  64.  
  65. - conditions:
  66. - condition: time
  67. after: "18:00:00"
  68. before: "10:00:00"
  69. sequence:
  70. - choose:
  71. - conditions:
  72. - condition: numeric_state
  73. entity_id: sensor.mareike_outdoor_temperature
  74. below: 0
  75. sequence:
  76. - action: climate.set_hvac_mode
  77. target:
  78. entity_id: climate.air_conditioner_4
  79. data:
  80. hvac_mode: heat
  81. - action: climate.set_temperature
  82. target:
  83. entity_id: climate.air_conditioner_4
  84. data:
  85. temperature: 25
  86.  
  87. - conditions:
  88. - condition: numeric_state
  89. entity_id: sensor.mareike_outdoor_temperature
  90. above: 0
  91. below: 20
  92. sequence:
  93. - action: climate.set_hvac_mode
  94. target:
  95. entity_id: climate.air_conditioner_4
  96. data:
  97. hvac_mode: heat
  98. - action: climate.set_temperature
  99. target:
  100. entity_id: climate.air_conditioner_4
  101. data:
  102. temperature: 23
  103.  
  104. - conditions:
  105. - condition: numeric_state
  106. entity_id: sensor.mareike_outdoor_temperature
  107. above: 20
  108. sequence:
  109. - action: climate.set_hvac_mode
  110. target:
  111. entity_id: climate.air_conditioner_4
  112. data:
  113. hvac_mode: cool
  114. - action: climate.set_temperature
  115. target:
  116. entity_id: climate.air_conditioner_4
  117. data:
  118. temperature: 20
  119.  
  120.  
Advertisement
Add Comment
Please, Sign In to add comment