Open Shimakuchi opened 1 month ago
Same here:
homeassistant.exceptions.ServiceValidationError: Provided temperature 35.0 is not valid. Accepted range is 5 to 25
Dirty Workaround, seems to work:
Edit custom_components/better_thermostat/utils/controlling.py and change the code starting at line 267:
if _temperature != _current_set_temperature:
if _temperature > 25:
_temperature = 25
old = self.real_trvs[heater_entity_id].get("last_temperature", "?")
Pay attention to the correct indentation an alter 25 to whatever you need. I hardcoded "bt_max_temp" to 25 before and the problem persists. Seems the limits are not checked within the calculation or the limits of different trvs gets mixed up.
I had the same issue. I am using Bosch Thermostat 230v. Just tested the fix, and this seems to solve the problem. Thank you!
Hi, i've got the same issue, home assistant is not responding anymore because of this. It's happening daily for me now. Where do you find the target temperature? my journalctl logs don't show the temperature invalid temperature error though. Where do you find this?
Look in HA's base directory, you should find a file named 'home-assistant.log'.
@KleinRiese hi i tried you fix but i can´t get the indentation to work, i tried switsching around different spaces or even tabs..
Can you give a hint for indentation?
here is the error :
File "/config/custom_components/better_thermostat/utils/controlling.py", line 270 old = self.real_trvs[heater_entity_id].get("last_temperature", "?") ^ IndentationError: unindent does not match any outer indentation level
i didn´t even change that line, only added the two above like in you post, maby you or someone sees my mistake.
@starhopper1 well, for the sake of simplicity I attached my controlling.py (limited to 25) 😊
thanks ok i see my error.
you use all eve devices? can someone provide the org. eve HA Debug infos from this device?
No, I use mainly Tado but have 2 different Tuya-Devices:
config_entry-better_thermostat-df3bd9b0e2143f643d7ffc5772d50da2.json config_entry-better_thermostat-81be3c65bda4aeae19bd4910bce7503b.json
@KartoffelToby maybe I can help. I'm running with 8 Eve Thermo over Matter. What exactly do you need?
This? And if so, do I have to edit out some confidential information before uploading here or is there nothig to worry about?
Yes its safe. Its a function from ha itself
@KartoffelToby alright, so here is the debug of one of my Eve Thermo connected via Matter integration. Hope it helps :)
matter-7dba542cd06503fb22e72db21f6a6f1c-Eve Thermo 20EBP1701-f161eec3ec993cb2a6832e824a1045a8.json
Eve Thermo v2 and v3
Description
Home Assistant does not respond anymore.
Steps to Reproduce
Sometimes it happens when setting the temperature, but sometimes it just happens randomly
Expected behavior:
I set a temperature and the thermostat reacts accordingly without Home Assistant being unavailable and me having to restart the Docker container
Actual behavior:
I set a temperature and Home Assistant no longer responds
Versions
Core 2024.9.1 Frontend 20240906.0 BT 1.6.0 BT-UI 2.2.0
Additional Information
I found the following in the log. The second output, the error, then runs on an endless loop and apparently ensures that Home Assistant is no longer accessible