Virtual thermostat using temperature sensors controlling a switch

I am looking for a virtual thermostat using one or more temperature sensors to control a switch (with a heater attached). The UI control should be the same as the standard thermostat card where you can set the temperature.

Any ideas on how to make this happen in HA?

I have just been searching for the wrong item… thank you Tom!