Automation should have mouds as variable; only execute if modus == Home (and possibly select multiple; "Home || Night). Old automations have this, new don't.