Controlling lights question

One of the biggest advantages of HA is saving energy not wasting it. As for your use cases…here are some ideas:

You can accomplish this easily with routines and modes

This to me seems wasteful. I would buy another sensor for livingroom. But if you don’t want to go that route, then you can install @bravenel 's smart app “Tun off after some minutes”:

Easily accomplished using a routine. If you also don’t want your lights activated by motion (I have a cat so I don’t want my lights to come on every time the cat walks by) then use a “night” mode where you restrict the motion activated lights to come on.

Use the same routine/mode to activate your alarm for the “night” mode, and then at 5am put your home into a different mode that disables the alarm. Mine is called “Daytime”.