Is there a thermostat add-on for this?

I have built a relay module using ESPhome and using the following switches (see snap)

is there an add on to hassio that I may configure to use the switches I have set up?
fan power off switch is to turn the main power on for the speeds last.

Maybe this https://www.home-assistant.io/integrations/generic_thermostat/

Or https://github.com/custom-components/climate.programmable_thermostat

Thanks guys, I hope to look into both suggestions in the coming weeks. This Friday I start work after being off for two weeks.