I made a routine where, when opening the living room door (door sensor),
it checks if it is between sunset and sunrise and if the living room
light is off. If so, it turns on the hallway light and notifies you
through the loudspeakers that someone ha...