Add force_update support to template sensor

To illustrate the issue from my original post, here’s the graph of my sensors’ battery levels (from Grafana):
Last 30 days:

Last 2 days:

Last 24 hours:

Grafana can be configured to use the last valid data point inside the time frame to draw a graph (that’s why it’s usually lines and not just dots for each data point), but if no data point falls within the time frame, nothing can be drawn.

Sebastian

2 Likes