First, don’t panic. You have 6 months to get this done. Plenty of time.
There is a pinned topic about this: Deprecation of legacy template entities in 2025.12
Have a read, particularly of the first post then if you still don’t get it ask there.
There are plenty of people monitoring the topic to help.
But basically you have a few options:
- The simplest: use the migration script to do it all for you. The details are in that pinned topic.
Or
- Comment out one of your sensors. Past the repair config for the same sensor into your configuration.yaml (not your sensors.yaml!), do a config check and restart. If it all goes well then repeat for the other sensors, noting that you only need the top level
template:part once in your configuration.yaml. And you only have to do theplatform: templatesensors. Leave the other platform type sensors where they are in your sensors.yaml file.
Or
- There are other options for splitting templates out into a templates.yaml file in the pinned topic.