Custom thermostate card for Tuya wrong temperature display

Hello everyone.
I gave up trying to solve the problem that Tuya thermostat is showing the temperatures divided by 5:
imagen
I guess this will be solved in the future.

I made some maths in the automation and everything seems to work fine, but I would like to have a card that shows the right values. I tried with all the predefined card, but didn’t succeed, so I gues it has to be a custom card, but my programming skills are not enough.

I don’t need to manage the thermostat, increase or decrease the target temperature or turn it on or off, all I want is to see the right values for current and target temperatures in the dashboard. Even only current temperature will be ok for me.

Thanks in advance!

I think this could be a provisional solution:

but I don’t know how to do it, just getting errors in the configuration.yaml.

Any help welcome!