Time Based State Machine [;]

One challenge that occurred to me is you can’t really rely on any datetimes from Astro for tomorrow. Astro only calculates the times for the current day around midnight. So that has to be taken into account too. Especially as one gets closer to the poles, the difference in sunrise/sunset from day to day can be significant.

See Expire Updater [;] only you’ll use tsm instead of expire.

However based on what you describe you don’t need that. Just have the one set of default Items and in your rule update their states. Leave the metadata alone.