Who would be able to provide me a sample yaml code as how to obtain the target_temparature as I’m not able to get any value from it while the current_temperature workt fine. This is intended for usage with the buildin HA version
together with the Intergas CV installation, next part works ok
climate:
- platform: incomfort
room: 1
name: Woonkamer
host: 192.168.xxx.yyy
auth: true
username: xxxxxx
password: yyyyyyyy
sensor:
- platform: template
sensors:
thermo_actual:
friendly_name: "Gemeten"
icon_template: mdi:thermometer
unit_of_measurement: "°C"
value_template: "{{ state_attr('climate.incomfort_1', 'current_temperature') }}"
but next doesn't provide data
value_template: "{{ state_attr('climate.incomfort_1', target_temperature') }}"
complex1
(Frank)
November 19, 2024, 2:07pm
2
Looks like a typo
Try
value_template: "{{ state_attr('climate.incomfort_1', 'target_temperature') }}"
sorry was no typo, I wish it was, but just a cut/paste error to this location
tom_l
November 19, 2024, 7:51pm
4
ph-wheels:
sensor:
- platform: template
sensors:
thermo_actual:
friendly_name: "Gemeten"
icon_template: mdi:thermometer
unit_of_measurement: "°C"
value_template: "{{ state_attr('climate.incomfort_1', 'current_temperature') }}"
but next doesn't provide data
value_template: "{{ state_attr('climate.incomfort_1', target_temperature') }}"
You need to create two sensors. You cant have two value templates in the one sensor.
I did create two sensors like
sensor:
- platform: template
sensors:
thermo_actual:
friendly_name: "Gemeten"
icon_template: mdi:thermometer
unit_of_measurement: "°C"
value_template: "{{ state_attr('climate.incomfort_1', 'current_temperature') }}"
thermo_target:
friendly_name: "Gevraagd"
icon_template: mdi:thermometer
unit_of_measurement: "°C"
value_template: "{{ state_attr('climate.incomfort_1', 'target_temperature') }}"
tom_l
November 19, 2024, 9:06pm
6
So why didn’t you post that?
If you don’t post the full configuration it just wastes our time.
Does your climate entity have an attribute “target_temperature”?
Or is it just called “temperature”?
Look in Developer Tools → States, right hand column next to your entity.
Thanks for pointing out and sorry being incomplte, it seems to be called just ‘temperature’ overview below:
hvac_modes: heat
min_temp: 5
max_temp: 30
current_temperature: 20.6
temperature: 19.5
hvac_action: idle
status:
room_temp: 20.57
setpoint: 19.5
override: 0
friendly_name: Thermostat 1
supported_features: 1
Thanks again.