Versatile Thermostat: a full feature thermostat (energy, door/window, presence, motion, preset, ... management)

I stopped using these addons, because i don’t need all those extra features they offer, just regulation with external temperature sensor. Versatile thermostat is too complicated for me (too many features i don’t need or understand…), so i used better thermostat at first. But then i realized that latest FW in sonoff’s allow use of external sensor. So now i only use automation which sends external temperature value into sonoff, and valve itself does the rest internally, without HA. For external sensor i use Xiaomi thermo/hygro BLE devices, connected to HA via BT proxy. I have such config about a week now and so far it works perfectly - room temperature is held at ± 0.5 degree of set temperature, which is perfect for my needs.
You can either write your own automation or just use THIS blueprint.

Note also that by default sonoff reacts at room temperature changes ± one degree - this can also be changed in latest fw - it allows lower settings, down to ± 0,2 degree.