Min and max temperatures for generic thermostat when added from UI
Strixx76 opened this issue · 4 comments
The problem
When setting up a generic thermostat from the UI you cant set the min and max temperatures. And it seems as the front-end has some defaults for when this is not set, making it impossible to set low (or high) temperatures. I can only set it between 7° and 35° (celcius).
My use case is that I have a heater in my garage preventing it to freeze inside in the winter, and it is set to 3 degrees.
What version of Home Assistant Core has the issue?
core-2024.10.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Generic Thermostat
Link to integration documentation on our website
https://www.home-assistant.io/integrations/generic_thermostat
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
I have the same issue.
if I try to set the temperature below 7°C (in my case, 5°C), I get an error.
After customization in configuration.yaml:
homeassistant:
customize:
climate.storage:
min_temp: 5.0
the GUI allows to set the temperature 5°C (below 7°C), but does not save this value and outputs an error:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:287
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 10:08:14 (3 occurrences)
Last logged: 10:08:25
[140545122431712] Provided temperature 5.000000000000007 is not valid. Accepted range is 7 to 35
I have the same issue. if I try to set the temperature below 7°C (in my case, 5°C), I get an error. After customization in configuration.yaml:
You have to create thermostat in yaml then it will work:
climate:
- platform: generic_thermostat
name: Study
heater: switch.study_heater
target_sensor: sensor.study_temperature
min_temp: 1
max_temp: 15
So the function is there but it is just not implemented in GUI setup of the general thermostat.