The ESP32 does everything a Pi Pico does, but costs less and lasts 100x longer on batteries ...
It's why DIY smart home projects suddenly got cheap (and actually doable) ...
An LM555 timer paired with an NTC thermistor makes a simple, configurable ON/OFF thermostat for heating or cooling.