Why can't we template the unit fields in a template weather provider

The unit fields like temperature_unit and precipitation_unit only accept strings and no templates.

Why would the unit change?

Not, but I made a template weather entity which uses all installed weather entities.
It would allow to automatically select the unit most used, and it would allow to share the config without the note that he units should be changed according to the configuration of the user

1 Like