One more thought:
A lot of people use a nonnetworked occupancy sensor in a small bathroom. Lutron make several very nice ones for under $35. These are very reliable and work very well. Some room layouts may have an issue if the person is in the shower where it doesn’t catch their movement, so you may have to make some decisions then. But otherwise it’s a very simple reliable Solution.
Motion sensors also work great in hallways and laundry areas where people are on their feet and The sensor will still see them as active.
Typically the most difficult room to light with a motion sensor is the bedroom if you want the option where inactivity on the sensor turns the lights off again. It’s just really hard to get the patterns right. So the lights often turn off when you really want them to be on, like when you’re reading in bed.
And some people have the opposite problem, where tossing and turning in the bed will cause the lights come back on.
That’s why I let mine turn off the night light, but not the overhead light. I turn off the overhead light with either voice control or on a time schedule.
There are a lot of different ways to handle it, but there’s definitely a lot more to think about for a bedroom than pretty much any other place in the house.