Parameterize min_temp e max_temp in climate component

is it possible to parameterize min_temp e max_temp in climate component ?

# Full example configuration.yaml entry


  • platform: generic_thermostat
    name: Study
    heater: switch.study_heater
    target_sensor: sensor.study_temperature
    min_temp: 15
    max_temp: 21
    ac_mode: False
    target_temp: 17
    cold_tolerance: 0.3
    hot_tolerance: 0
    seconds: 5
    minutes: 3
    initial_operation_mode: “off”
    away_temp: 16

I have many thermostat. So I want make a default file (for example default_climate.yaml), and to save min_temp and max_temp in default_climate.yaml. So, when I change min_temp and max_temp value, I update this parameter automatically for every thermostat.
Is it possible ?

No, those fields do not accept entity_id’s and that would be the only way to make them ‘adjustable’.

Although these values are not really secrets, I wonder if you could use the !secret keyword here, and store the values in your secrets.yaml file.

In your config file:

  - platform: generic_thermostat
    min_temp: !secret therm_min_temp
    max_temp: !secret therm_max_temp

Then in your secrets.yaml file:

therm_min_temp: 15
therm_max_temp: 21

that would totally work

I’ve tried to make “cold_tolerance” and “hot_tolerance” also without success

Is it possible?