Open cben0ist opened 1 year ago
Hi, Having same log warnings here also on all the climates (have 5 of them here). Although everything working fine, able to turn on/off, change modes, change temperature. No issues. Just those warnings in logs, during start up and during performing actions.
Anything can be done to avoid?
Hello,
if you like, you can use my forked repo, where I am merging multiple feature request with some of my own patches. ;-) The above error is patched there.
BTW: I probably know what is causing 'Already running' error, but please try first my latest release and report if the problem still exists. Thank you.
Hello,
regarding the 'Already running' error/warning. I need to know, if in your setup you:
target_temperature_template
and set_temperature
or hvac_mode_template
and set_hvac_mode
)This is to my knowledge the root cause issue, as with such setup if you change for example climate mode in HA GUI, then set_hvac_mode action is actually executed TWICE.
I would propose not to run given set action based on get template change, as it doesn't seem to make sense at all.
The problem
I am using climate_template to create virtual room thermostat along with a input_number that is the delta set temp between my room and my home (main) thermostat. For example, home is set at 20 degrees and bedroom at 19.5, delta is -0.5 in heating mode and +0.5 in cooling mode). I can then use that virtual thermostat to open/close Flair vents to control the temperature for each room.
My configuration seems to be working well but I do have log errors on startup and set_temperature that I'd like to understand and fix. Any help is appreciated here, I understand this is most probably a mistake on my side but I cannot figure it out. Thank you!
The log error on startup (on for each climate_template):
The error on set temperature:
What version of Template Climate has the issue?
0.6.0
What version of Home Assistant are you running?
Home Assistant 2022.11.4 Supervisor 2022.11.2 Operating System 9.3 Frontend 20221108.0 - latest
What type of installation are you running?
Home Assistant OS
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response