In my hall way I have a 2 gang switch where one controls outside light and the other the hallway light. Hallway light can also be controlled by a separate switch in the hallway too.
I’m installing a smart switch where I’ve tried once and managed to have it connected and one light the Hallway...