hass-template-climate icon indicating copy to clipboard operation
hass-template-climate copied to clipboard

target_temperature not visible

Open 1iverea9er opened this issue 2 years ago • 2 comments

The problem

if target_temperature_template not configured, bat target_temperature_high_template and target_temperature_low_template configured, then target temperature not visible as here

I assumed that the integration would output two values of the target temperature as it is done for the integration of thermostat in ESPHome

What version of Template Climate has the issue?

0.6.1

What version of Home Assistant are you running?

2023.5.3

What type of installation are you running?

Home Assistant Supervised

Example YAML snippet

climate:
  - platform: climate_template
    name: TRV LR
    availability_template: >
        {{ (is_state('switch.trv_lr_cool_switch', 'on') or is_state('switch.trv_lr_cool_switch', 'off')) and 
          (is_state('switch.trv_kn_cool_switch', 'on') or is_state('switch.trv_kn_cool_switch', 'off')) }}
    current_temperature_template: "{{ states('sensor.livingroom_heatindex') }}"
    current_humidity_template: "{{ states('sensor.filtered_humidity_lr') }}"
    target_temperature_high_template: "{{ states('number.trv_lr_target_temperature_high') }}"
    target_temperature_low_template: "{{ states('number.trv_lr_target_temperature_low') }}"

Anything in the logs that might be useful for us?

No response

Additional information

No response

1iverea9er avatar May 20 '23 21:05 1iverea9er

Yes, I am seeing the same issue. Using input number for my case.

- platform: climate_template
  name: "SR AC Mode"
  current_temperature_template: "{{ states('sensor.sr_temperature') }}"
  target_temperature_high_template: "{{ states('input_number.sr_ac_cool_temp_set') }}" # testing only
  target_temperature_low_template: "{{ states('input_number.sr_heater_heat_temp_set') }}" # testing only
  modes:
   - 'off'
   - 'auto'
   - 'heat'
   - 'cool'
   - 'fan_only'
   - 'dry'
  min_temp: 10
  max_temp: 35
  temp_step: 0.1

duceduc avatar Jun 22 '23 00:06 duceduc

Hey, did you get this solved? I'm running in the same problem that no target temperature is displayed

escamoteur avatar Nov 12 '23 11:11 escamoteur