Rename or reconfigure climate modes

I have some kind of a Tuya thermostat for underfloor heating. It seems to function pretty well with the current Tuya integration. However its modes in HA have practically nothing in common with modes in the app. Is it possible to rename/customize them?

Tuya app > corresponding HA mode

Manual Mode > Cool
Program (some kind of scheduling on the thermostat itself) > Heat
Temporary Program Mode > Fan Only

The thermostat just switches underfloor heating, there is no fan or cooling.

You could try to ask the code owner on github to support your device.

In the mean time, the other option is to define a climate template entity that directs all parts to the real climate entity. Unfortunately there’s not native template climate entity, but lickily there is this:

It does not seem from the docs of The Templatable Climate that it lets me change the hvac_mode “cool” to actually mean “heat”.

It allows you to define your own modes. The templates can translate those to the badly names ones of the Tuya. So as long as you use the templated entity instead of the real one, then effectively they seem “renamed”.