I’ve been looking through the documentation and cannot figure out how to do it. Is it possible that it just isn’t supported? In that case, should I open a feature request or I’m being stupid and there’s a reason this cannot be supported?
My goal is to have a template weather entity that serves as an “aggregator” of a few different ones and then base all my dashboards and automations on that aggergator entity. This way if I ever change which providers I use for different pieces of weather info, I do not need to update anything other than the template weather sensor.
I checked the Template Weather integration’s documentation and its source code and, like you said, there’s no support for UV index.
I suggest you create a Feature Request.
Even though the Template Weather integration creates a weather entity based on the ‘building block’ Weather integration, that ‘building block’ states that not all of its attributes may be present in entities created by other weather-provider integrations.