For example, to increase/decrease a thermostat temperature using 2 buttons, I have to read the current value, add (or subtract) 0.1°, then update the setting.
The question is how to do it with and (if possible) without Esphome's lambdas.
For example, to increase/decrease a thermostat temperature using 2 buttons, I have to read the current value, add (or subtract) 0.1°, then update the setting.
The question is how to do it with and (if possible) without Esphome's lambdas.
I only managed to do it this way: