Hello fellow tinkerers,
I am having a hard time understanding lambdas and other complex functions.
After my SD card got corrupted and all of my HA ecosystem crashed for several days, I realised that I need to make my thermostat more autonomous, so I decided to move the thermostat functionality from my HA sever to my ESPhome node, so that in the event of server failure, the thermostat will retain at least some basic functionality.
My plan is to use a Lolin NodeMCU (ESP8266 based), a DH22 sensor to act as temperature sensor, a generic rotary encoder (https://esphome.io/components/sensor/rotary_encoder.html) to adjust target temperature, and a single channel relay to control my gas heater.
The question is, how do I use the rotary encoder to adjust the thermostat climate controller’s (this one: https://esphome.io/components/climate/thermostat.html) target temperature?
Help appreciated! Thanks in advance!