Lazy entities

Is there any way to create sensors that look up history from a time series database, or compute it only when needed from a template? I’d like to visualize historic data and present graphs/statistics from data that’s from before a template sensor was created, plus it seems kinda wasteful to store calculated data when you have the sources already. I’m aware this can be done from grafana itself, but having it all in one dashboard could be great for appliance-like devices with small screens.

1 Like