Period of time doesn't work

HI
it looks like you actually have 2 automations: one for arrival during night and one for night activation if anyone is already at home when you want the Night mode to start - I was just thinking about this when I saw you reply.

apparently when setting a period of time, the engine does not constantly evaluate if anyone is at home, so for example if I come home at 8 PM and stay until next day at 8 AM, just the first automation would not change the mode at 8.30 PM, even though I am at home

that is why it is needed a second automation to force it to evaluate if at a specific time (8.31 in your case) there is anyone at home

the wording “Anyone is at my home” is misleading, it should say “Anyone arrives at my home” and all would be clear.

well at least there is a solution, thanks.