Edit template to surround number with quotes

Dear Comminity

I am i newbe in HA

And i have a humidifier connected thru Local Tuya

All works fine just set_humidity is bad.

After some research i found that value works if i surround them with quotes (for exmple “45“ instead just 45).

And i have i question where HA store all templates (i cannot find them in configuration.yml) and how to dublicate thet template to surround that value?

Can you please post the yaml you've tried?