# Issue with an automation execution in new smartthings app (not the classic one)

**URL:** <https://community.smartthings.com/t/issue-with-an-automation-execution-in-new-smartthings-app-not-the-classic-one/201334>\
**Category:** SmartApps & Automations\
**Tags:** migration2020\
**Created:** [August 7, 2020, 4:17am UTC](https://community.smartthings.com/t/issue-with-an-automation-execution-in-new-smartthings-app-not-the-classic-one/201334 "2020-08-07T04:17:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vzoran](https://avatars.discourse-cdn.com/v4/letter/v/a3d4f5/32.png) [@vzoran](https://community.smartthings.com/u/vzoran)\
**Post date:** [August 7, 2020, 4:17am UTC](https://community.smartthings.com/t/issue-with-an-automation-execution-in-new-smartthings-app-not-the-classic-one/201334/1 "2020-08-07T04:17:52Z")

</div>

Finally moved from classic to the new smarthings app. Having an issue with a few automation “scripts”. Here is the example. Attached are automation in question and the corresponding history/log. Given that humanity is flying to Mars these days and yet we cannot have an accurate and responsive mobile presence I have three set up in my app hopping at least one would work sooner than later. From the first image, I expect that once one of the presence sensors turns not present would execute the commands after then statement and set the mode to Away. The remaining two sensors once turn “not present” should not execute after then statements sicne the mode is Away (not Home) . What am I doing wrong. Thank you. Zoran.

 ![Screenshot_20200806-234231](https://global.discourse-cdn.com/smartthings/original/3X/7/a/7a95118316eb4876a3ae08e5184e375d22dbf7b4.png) ![Screenshot_20200806-234509](https://global.discourse-cdn.com/smartthings/original/3X/3/a/3a5b1ffc85f5892f6473a9855d412430e3b6ea8c.png)

---

<div class="post-metadata">

**Author:** ![orangebucket](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/orangebucket/32/81590_2.png) [@orangebucket](https://community.smartthings.com/u/orangebucket)\
**Post date:** [August 7, 2020, 7:22am UTC](https://community.smartthings.com/t/issue-with-an-automation-execution-in-new-smartthings-app-not-the-classic-one/201334/2 "2020-08-07T07:22:24Z")

</div>

This cropped up the other day. When you are using an ‘any’ condition group, the location pre-condition doesn’t seem to work (or if it does work it isn’t doing what users expect).

> [@Just converted one location why is this is this automation firing multiple times](https://community.smartthings.com/t/just-converted-one-location-why-is-this-is-this-automation-firing-multiple-times/201047):
>
> See pics I did confirm the system is in home mode and as I understand the automation it should not continue to fire?
