Turn device on when off for x time

Hi forum members,

I try do to something simple I believe, but I do not know how to proceed. I have a device that I want switch on when it is not being switched on for a week, by another automation script. Is that possible and how should I do that?



Hi. You could create a timer which starts when the device turns off, and create an automation to turn on again when timer finishes.
You could have the timer reset if the device has being on before the desired period.