-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Target Temperature is never displayed and can't be set, also fan modes are not displayed #50
Comments
same issue here, would like to use this to configure my HRU |
Missing target temperature: Have you tried populating Setting target temperature: Check this example from the readme. |
I am facing related troubles fitting well to this issue's title. My YAML looks like this:
The state of
However,
Consequently, I also have no target temperature in the GUI. What am I doing wrong? |
I'm pretty sure I tried it but in the examples I don't see a target temp template. (maybe I m just blind)
Am 17. Nov. 2023, 18:37 +0100 schrieb nicolaus-hee ***@***.***>:
… Missing target temperature: Have you tried populating target_temperature_template, as well? Is missing in your YAML.
Setting target temperature: Check this example from the readme.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
It's true that it is not included in the readme example but it's listed as an option in the readme and your YAML doesnt included it, at least the part you pasted above. So I'd give that a go. I've tried and still don't see it, though. |
My suspicion is that something in HomeAssistant has changed since this repository was last maintained. Unfortunately I don't have the time to learn how to build integrations in python to debug the problem
Am 17. Nov. 2023, 18:48 +0100 schrieb nicolaus-hee ***@***.***>:
… It's true that it is not included in the readme example but it's listed as an option in the readme and your YAML doesnt included it, at least the part you pasted above. So I'd give that a go. I've tried and still don't see it, though.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
OK, let's say:
On to your two questions: To see the current target temperature set on
To make the target temperature of
|
Do I have to set my real climate entity there? I thought this template would create a pure virtual one that I can use to control my custom automation with?
Dies it work for you with your settings?
Am 18. Nov. 2023, 16:50 +0100 schrieb nicolaus-hee ***@***.***>:
… OK, let's say:
1. > climate.thermostat_entity = your original climate entity, e.g. thermostat on radiator
2. > klima_wohnzimmer = unique_id of your virtual climate device (which you named "Klima Wohnzimmer") which climate_template will turn into a climate entity named climate.klima_wohnzimmer. You need to add unique_id: klima_wohnzimmer to your conf for later reference.
On to your two questions:
To see the current target temperature set on climate.thermostat_entity also on climate.klima_wohnzimmer, try adding:
target_temperature_template: "{{ state_attr('climate.thermostat_entity', 'temperature') }}"
To make the target temperature of climate.thermostat_entity change when you change / set it on your virtual "Klima Wohnzimmer" entity, you need to add an action to your configuration, like so (untested):
unique_id: klima_wohnzimmer
set_temperature:
- service: climate.set_temperature
data:
entity_id: climate.thermostat_entity
temperature: "{{ state_attr('climate.klima_wohnzimmer', 'temperature') }}"
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
As mentioned before: No. But I was hoping I did something wrong and it'd work for you guys.
Ah, see what you mean. Thought you wanted to control a 'real' climate device. |
You have to have a For any of the switches/modes to show you have to have an action for them to peform along with a template so it knows where it is. |
I got it working: - platform: climate_template
name: Test Thermostat
unique_id: 76c49564-3347-4a48-8732-cf88ee6729ff
modes:
- "auto"
# - "dry"
- "off"
# - "cool"
# - "heat"
# - "fan_only"
fan_modes:
- "auto"
- "low"
- "medium"
- "high"
min_temp: 16
max_temp: 30
# get current temp.
current_temperature_template: "{{ states('sensor.temp_wohnzimmer_temperature') }}"
# get current humidity.
current_humidity_template: "{{ states('sensor.temp_wohnzimmer_humidity') }}"
set_temperature:
- service: input_number.set_value
data:
entity_id: input_number.ziel_temp_wohnzimmer
value: "{{ state_attr('climate.test_thermostat', 'temperature') }}"
set_fan_mode:
- service: input_text.set_value
data:
entity_id: input_text.hvac_mode_wohnzimmer
value: "{{ state_attr('climate.test_thermostat', 'fan_mode') }}" |
The above works for me too indeed. Seems like the set_temperature is a mandatory field to get the rest working. |
The problem
Hi,
I was really be thrilled to find your virtual climate package unfortunately it does not work as expects.
this is my config
But on my dashboard I only see:
and if I try to change the temperature I get an error.
In the attributes I only see:
I would like to use the component inside another automation that only queries the states of this attributes, but unfortunately it doesn't work.
What version of Template Climate has the issue?
No response
What version of Home Assistant are you running?
No response
What type of installation are you running?
Home Assistant OS
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: