# Trouble deleting Location Modes as part of Groovy cleanup

**URL:** <https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459>\
**Category:** Connected Things\
**Created:** [September 7, 2022, 2:05pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459 "2022-09-07T14:05:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mooch91](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mooch91](https://community.smartthings.com/u/mooch91)\
**Post date:** [September 7, 2022, 2:05pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/1 "2022-09-07T14:05:07Z")

</div>

HI all,

I used to use Location Modes for automations (specifically STHM), have since stopped using them and deleted from all apps.

I am having trouble now deleting the Location Modes as part of my cleanup for the Groovy sunset.

I had three, I was able to delete two in the IDE. The third would not delete (returns an error when I try), presumably because I was set to that mode currently?

When I access in the app (iOS), all three are still there.

I can live with having at least one mode if it’s required, but I’m not sure why all three still show in the app.

Any ideas?

Thanks!

---

<div class="post-metadata">

**Author:** ![JDRoberts](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jdroberts/32/56577_2.png) [@JDRoberts](https://community.smartthings.com/u/JDRoberts)\
**Post date:** [September 7, 2022, 2:25pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/2 "2022-09-07T14:25:41Z")

</div>

I believe there are three default location modes that every account will have: Home, Away, and Night. Unless something has changed. 🤔

---

<div class="post-metadata">

**Author:** ![nathancu](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/nathancu/32/45410_2.png) [@nathancu](https://community.smartthings.com/u/nathancu)\
**Post date:** [September 7, 2022, 2:52pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/3 "2022-09-07T14:52:59Z")

</div>

AFAIK this is expected behavior.

---

<div class="post-metadata">

**Author:** ![mooch91](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mooch91](https://community.smartthings.com/u/mooch91)\
**Post date:** [September 7, 2022, 4:20pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/4 "2022-09-07T16:20:19Z")

</div>

> [@nathancu](#):
>
> AFAIK this is expected behavior.

Thanks, though I’m still puzzled by the inconsistency between the app and the IDE. IDE now has one mode, app has 3. They are the same mode yes?

---

<div class="post-metadata">

**Author:** ![mooch91](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mooch91](https://community.smartthings.com/u/mooch91)\
**Post date:** [September 7, 2022, 4:22pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/5 "2022-09-07T16:22:10Z")

</div>

Does anyone know how to add or delete modes from the app?

---

<div class="post-metadata">

**Author:** ![jkp](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jkp/32/117130_2.png) [@jkp](https://community.smartthings.com/u/jkp)\
**Post date:** [September 7, 2022, 4:44pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/6 "2022-09-07T16:44:56Z")

</div>

you can’t add or delete Location modes from the app as far as I know… you can only edit the names in the app.

what are you trying to achieve… removing all of your modes? Because i do not believe that is possible.

---

<div class="post-metadata">

**Author:** ![mooch91](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mooch91](https://community.smartthings.com/u/mooch91)\
**Post date:** [September 7, 2022, 4:48pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/7 "2022-09-07T16:48:05Z")

</div>

> [@jkp](#):
>
> you can’t add or delete modes from the app as far as I know… you can only edit the names in the app.
> 
> what are you trying to achieve… removing all of your modes? Because i do not believe that is possible.

Nope, not trying to remove all, trying to align the IDE and the app.

As above, IDE shows one mode:  
Home

App shows three modes:  
Home  
Armed (away)  
Armed (stay)

The two “Armed” modes were ones I deleted in the IDE, but they remain and can be selected in the app.

I want both the IDE and the app to show one mode - Home.

---

<div class="post-metadata">

**Author:** ![jkp](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jkp/32/117130_2.png) [@jkp](https://community.smartthings.com/u/jkp)\
**Post date:** [September 7, 2022, 4:56pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/10 "2022-09-07T16:56:44Z")

</div>

> [@JDRoberts](#):
>
> If the IDE only shows one, that’s a bug in the IDE, but since the IDE itself will be going away pretty soon, I doubt if they’re doing any more work on it.

I believe he removed the location modes in IDE. I don’t believe STHM security modes are in IDE.

I bet if he opens Manage Location in the app and clicks on the location mode field, he will only see one mode listed there. (totally different from the security modes as pointed out above)

---

<div class="post-metadata">

**Author:** ![mooch91](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mooch91](https://community.smartthings.com/u/mooch91)\
**Post date:** [September 7, 2022, 5:01pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/11 "2022-09-07T17:01:03Z")

</div>

> [@jkp](#):
>
> > [@JDRoberts](#):
> >
> > If the IDE only shows one, that’s a bug in the IDE, but since the IDE itself will be going away pretty soon, I doubt if they’re doing any more work on it.
> 
> I believe he removed the location modes in IDE. I don’t believe STHM security modes are in IDE.

This is correct. I was using the location modes for STHM (instead of virtual switches) at one point, and I named them to match the STHM modes.

As a test, I just went in to the location modes in the IDE and renamed the remaining “Home” mode to “Test”.

Now the app shows “Test” instead of “Home”.

I also added and deleted two more modes in the IDE just now and they still show up in the app.

So apparently you must be careful what modes you create in the IDE as they are now ever-lasting. And once the IDE goes away, it sounds like there will be no way to create or delete them again.

---

<div class="post-metadata">

**Author:** ![jkp](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jkp/32/117130_2.png) [@jkp](https://community.smartthings.com/u/jkp)\
**Post date:** [September 7, 2022, 5:02pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/12 "2022-09-07T17:02:15Z")

</div>

screenshots to make sure we are taking about the same stuff

you can change location mode… you can’t change security modes (to my knowledge)🙂

---

<div class="post-metadata">

**Author:** ![mooch91](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mooch91](https://community.smartthings.com/u/mooch91)\
**Post date:** [September 7, 2022, 5:03pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/13 "2022-09-07T17:03:50Z")

</div>

Modes as listed in the IDE currently:

 ![image](https://global.discourse-cdn.com/smartthings/original/3X/f/3/f3f2ef56dfcd7e7603c9eb5e0be45fa999911ce6.png)

---

<div class="post-metadata">

**Author:** ![jkp](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jkp/32/117130_2.png) [@jkp](https://community.smartthings.com/u/jkp)\
**Post date:** [September 7, 2022, 5:04pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/14 "2022-09-07T17:04:49Z")

</div>

that is location mode… that you can change

security modes are separate and can’t be removed, edited, renamed

---

<div class="post-metadata">

**Author:** ![mooch91](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mooch91](https://community.smartthings.com/u/mooch91)\
**Post date:** [September 7, 2022, 5:05pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/15 "2022-09-07T17:05:01Z")

</div>

Modes as listed in the app:

 ![image](https://global.discourse-cdn.com/smartthings/original/3X/5/8/585962477301b076560b26b50e5ed48a1fba3cc6.png)

All are location modes and not security modes. I’ve named the modes myself. IDE and app do not match. Deleting in IDE does not delete in app.

---

<div class="post-metadata">

**Author:** ![jkp](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jkp/32/117130_2.png) [@jkp](https://community.smartthings.com/u/jkp)\
**Post date:** [September 7, 2022, 5:06pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/16 "2022-09-07T17:06:33Z")

</div>

you only have one location?

---

<div class="post-metadata">

**Author:** ![mooch91](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mooch91](https://community.smartthings.com/u/mooch91)\
**Post date:** [September 7, 2022, 5:07pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/17 "2022-09-07T17:07:14Z")

</div>

> [@jkp](#):
>
> you only have one location?

Yes - just “Home”.

---

<div class="post-metadata">

**Author:** ![jkp](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jkp/32/117130_2.png) [@jkp](https://community.smartthings.com/u/jkp)\
**Post date:** [September 7, 2022, 5:09pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/18 "2022-09-07T17:09:23Z")

</div>

force quit your ST app and then check again

---

<div class="post-metadata">

**Author:** ![mooch91](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mooch91](https://community.smartthings.com/u/mooch91)\
**Post date:** [September 7, 2022, 5:17pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/19 "2022-09-07T17:17:37Z")

</div>

> [@jkp](#):
>
> force quit your ST app and then check again

Done multiple times. Still showing. The mode name change takes place immediately without force closing.

I’ve contacted Support, and they’ve asked me to “send a screenshot of the error when connecting to the TV”. And they wanted to know “model and serial number of the device”. WTF, seriously? What TV? And what device? I remember when there was a time support actually had technical skills and could resolve something like this before the day was out.

---

<div class="post-metadata">

**Author:** ![jkp](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jkp/32/117130_2.png) [@jkp](https://community.smartthings.com/u/jkp)\
**Post date:** [September 7, 2022, 5:22pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/20 "2022-09-07T17:22:18Z")

</div>

most unusual. not sure if there is a sync issue with your account, something from the upcoming migration or the attempt to remove all the location modes. Only support will be able to assist at this point.

---

<div class="post-metadata">

**Author:** ![mooch91](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mooch91](https://community.smartthings.com/u/mooch91)\
**Post date:** [September 7, 2022, 5:27pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/21 "2022-09-07T17:27:08Z")

</div>

> [@jkp](#):
>
> most unusual. not sure if there is a sync issue with your account, something from the upcoming migration or the attempt to remove all the location modes. Only support will be able to assist at this point.

Doubtful based on the above, but we will see. 😉

---

<div class="post-metadata">

**Author:** ![JDRoberts](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jdroberts/32/56577_2.png) [@JDRoberts](https://community.smartthings.com/u/JDRoberts)\
**Post date:** [September 7, 2022, 5:27pm UTC](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459/22 "2022-09-07T17:27:16Z")

</div>

OK, I’m back to “ the IDE is an unreliable source of information at this point. “🤔

As for the response from support, most likely they ran a database search and the first thing that came up on their script was television modes. 😖

[Next page](https://community.smartthings.com/t/trouble-deleting-location-modes-as-part-of-groovy-cleanup/247459.md?page=2)
