So a big problem with this is that currently all state changes are for states that just changed. So if we were to do this, it could only be done during startup (as no automations are active so writing non-current states would work).
But if we do it during startup, then what if you reload your input_booleans. You would expect it to still be the date in the past? Now that will break a lot of assumptions about the system, and it’s consumers of the API.