Hello all,
I have been struggling with the generic thermostat feature for a few days now. I have another question that I asked about it but this is something different:
I have stumbled upon this answer in the forum that got me an idea how to solve some of my problems
but I still have some questions:
In the generic thermostat card, there are some constants (I don’t know how to call them) such as min_temp
, max_temp
, target_temp
, cold_tolerance
, hot_tolerance
etc.
climate:
- platform: generic_thermostat
name: home
heater: switch.heating
target_sensor: sensor.average_house_temp
min_temp: 22
max_temp: 26
ac_mode: false
target_temp: 23.5
cold_tolerance: 1.0
hot_tolerance: 0.5
min_cycle_duration:
seconds: 5
keep_alive:
minutes: 3
initial_hvac_mode: "off"
away_temp: 20
precision: 0.1
My question is: how can I access from an automation for example, and possibly change, the value: target_temp
in the above card. Or any other variable in there. Is such a thing possible?
I have tried to access them from the developer tools section but these variables do not appear there (or I don’t know how to find them)
Thank you,
Lucian