So I use the Rest platform to pull weather information from the open weather map one call api - which means I dont use a weather.xxx entity but instead a bunch of sensors. As of now I use an entities card with the custom multiple entity row to give me each days data.
Here it is:
entities:
- entities:
- entity: sensor.openweather_temp_current
name: Current
- entity: sensor.openweather_feels_like
name: Feels Like
- entity: sensor.openweather_temp_max_today
name: High
- entity: sensor.openweather_temp_min_today
name: Low
entity: sensor.openweather_temp_current
name: Today
show_state: false
type: 'custom:multiple-entity-row'
- entities:
- entity: sensor.openweather_temp_max_tomorrow
name: High
- entity: sensor.openweather_temp_min_tomorrow
name: Low
entity: sensor.openweather_temp_current
name: Tomorrow
show_state: false
type: 'custom:multiple-entity-row'
- entities:
- entity: sensor.openweather_temp_max_3
name: High
- entity: sensor.openweather_temp_min_3
name: Low
entity: sensor.openweather_temp_current
name: The Day After Tomorrow
show_state: false
type: 'custom:multiple-entity-row'
- entities:
- entity: sensor.openweather_temp_max_4
name: High
- entity: sensor.openweather_temp_min_4
name: Low
entity: sensor.openweather_temp_current
name: The Day After That
show_state: false
type: 'custom:multiple-entity-row'
- entities:
- entity: sensor.openweather_temp_max_5
name: High
- entity: sensor.openweather_temp_min_5
name: Low
entity: sensor.openweather_temp_current
name: The Day After That
show_state: false
type: 'custom:multiple-entity-row'
title: Weather Forecast
type: entities
My problem is that the sensors for each days sensor do not correspond to days but correspond to days relative to today meaning- there is a sensor that will show the the high temperature for today, tomorrow, three days from today and so on.
Is it possible to template the name: portion of the entity row to reflect the correct day dynamically? As in it knows that today is thursday, therefore the tomorrow sensor knows to label itself friday, and the one after that saturday - and then change based on what today is- something like X+2 days =Saturday.
Or would it possible in a banner card of some kind, if I could template that into a banner or something similar I could just use stack-in cards and glance cards to get what I want.
I would be amenable to creating some senors that pop out the correct day and using that sensor as the main entity in the multiple entity row.
Any suggestions?