I was thinking if it would be possible to use the value “x minutes ago” to trigger automations. For instance, I want to set an automatic vacation mode, where the light would simulate my presence in case I’m on vacation, such as turning on lights at sunset. But I might come home after sunset (especially during the winter) so I don’t want to be wasting electricity for 1h before I come home. However, if I haven’t been home in 24 hours, chances are that I’m actually away. So on my 2nd day being away, I would like the “vacation” automation to kick in.