Nobody Home SmartApp

Within this SmartApp you can set “Change Mode to” when “At least one person is home and nightfall”. My question is how does this SmartApp know when it nightfall?

Based on the location of your hub.

In other apps your able to set the time each start at. Does it consider sunset the start of Nightfall?

Yes probably.