Where does Homeassistant store Templates from Integrations

If I create a new sensor with the GUI (in my Case SQL), where does Homeassistant store this Sensors?

Problem is, that my SQL Integration card is full, and I scroll down through more than 20 SQL Query Integrations.

For now I also want to copy 5 of these sensors and only change the entity_id. If there is a own yaml, who I can edit, this saves me a lot of time.

They are stored as json somewhere in config/.storage

This is not supposed to be user editable. Be careful, make file backups before editing. A missing comma can render your entire config invalid.

Thank you a lot. It is stored in config/.storage/core.config_entries