Please add a Jinja function to let us get the historical state of a sensor

Please add a Jinja function to let us get the historical state of a sensor
… something like this would be ideal:

{{ state_at("device_tracker.android_dhcp_9", now().timestamp()-(60)) }}

Thanks