implements ifnot with automation
refactor: before add try/catch automations