Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #--------------Create Boiler thermostat-------------------------------
- #virtual thermostat using sensor value from downstairs thermostat and boiler switch.
- climate:
- - platform: generic_thermostat
- name: HA Thermostat
- unique_id: JFYEMS....
- heater: switch.boiler_relay #Boiler Switch
- target_sensor: sensor.lounge_temperature #Boiler room sensor currently reading downstairs zone thermostat
- #target_sensor: sensor.ble_temperature_office
- min_temp: 12
- max_temp: 30
- target_temp: 18
- away_temp: 13
- precision: 0.5
- ac_mode: false
- cold_tolerance: 0.3
- hot_tolerance: 0.2
- min_cycle_duration:
- seconds: 180
- #keep_alive:
- # minutes: 1
- # In case of bootup after powercut, default to heating state
- initial_hvac_mode: "heat"
- #define temperature sensors
- - platform: template
- sensors:
- ha_current_temperature:
- value_template: "{{ states.sensor.lounge_temperature }}" #read downstairs temp as a sensor
- friendly_name: Current Lounge Temperature
- # upstairs_temp:
- ha_office_temperature:
- value_template: "{{ states.sensor.roaming_temperature }}" #read upstairs temp as a sensor
- friendly_name: Current Office Temperature
- # hvac_temperature_knob:
- ha_thermostat_temperature:
- value_template: "{{ states.climate.ha_thermostat.attributes.temperature }}" #read thermostat temp as a sensor
- friendly_name: Current Thermostat Temperature
Advertisement
Add Comment
Please, Sign In to add comment