Guest User

Untitled

a guest
Dec 20th, 2024
9
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1.  
  2. #--------------Create Boiler thermostat-------------------------------
  3. #virtual thermostat using sensor value from downstairs thermostat and boiler switch.
  4. climate:
  5. - platform: generic_thermostat
  6. name: HA Thermostat
  7. unique_id: JFYEMS....
  8. heater: switch.boiler_relay #Boiler Switch
  9. target_sensor: sensor.lounge_temperature #Boiler room sensor currently reading downstairs zone thermostat
  10. #target_sensor: sensor.ble_temperature_office
  11.  
  12. min_temp: 12
  13. max_temp: 30
  14. target_temp: 18
  15. away_temp: 13
  16. precision: 0.5
  17.  
  18. ac_mode: false
  19.  
  20. cold_tolerance: 0.3
  21. hot_tolerance: 0.2
  22.  
  23. min_cycle_duration:
  24. seconds: 180
  25. #keep_alive:
  26. # minutes: 1
  27.  
  28. # In case of bootup after powercut, default to heating state
  29. initial_hvac_mode: "heat"
  30.  
  31.  
  32. #define temperature sensors
  33. - platform: template
  34. sensors:
  35. ha_current_temperature:
  36. value_template: "{{ states.sensor.lounge_temperature }}" #read downstairs temp as a sensor
  37. friendly_name: Current Lounge Temperature
  38. # upstairs_temp:
  39. ha_office_temperature:
  40. value_template: "{{ states.sensor.roaming_temperature }}" #read upstairs temp as a sensor
  41. friendly_name: Current Office Temperature
  42. # hvac_temperature_knob:
  43. ha_thermostat_temperature:
  44. value_template: "{{ states.climate.ha_thermostat.attributes.temperature }}" #read thermostat temp as a sensor
  45. friendly_name: Current Thermostat Temperature
Advertisement
Add Comment
Please, Sign In to add comment