We have a ZzZ script which slowly turns off the TV and lights.
It works from one end of the house through the kitchen, then lounge, then up the stairs, the idea is it follows me to bed turning off things as I'm walking...
A separate script tells me that it's time for bed (as I find finishing the day difficult).