Name Sensor for forecast based on day of the week

Hi All,

Is there a way to name a sensor using a variable?

I have 7 day weather forecast data that is being displayed as temp 0 - temp 7

Is it possible to have these sensors named using a variable that works something like:
%current_day%+0 = Thursday
%current_day%+1 = Friday
%current_day%+1 = Saturday
etc.
(where in this example today is Thursday)

PS, I haven’t found a list of actual variables, so %current_day% is just an example.

Thanks in advance

A template sensor can have a templated value for its name, but AFAIK you cannot rename an entity created by other integrations using templates. Some custom cards support templating, so you could have an existing entity show up on the dashboard displaying a templated name without modifying the actual entities name.

1 Like