How to delete virtual switch?

Is there some special trick to deleting a virtual switch?

I have a virtual switch I was using to effectively give a real switch a second name via Smart Lighting “mirror behavior”. Decided I don’t need it and deleted the Smart Lighting rule.

I then used the IDE to delete the virtual switch. I get a warning that is in use and things will break. IDE then shows a message that the device has been deleted.

But it wasn’t deleted, it’s still there in the list of devices.

1 Like

Try it in the IDE running the browser in the incognito mode.

1 Like

Thanks, that didn’t work.

I did manage to delete it. Had to go into each of the items in the “In use by” list and delete those. At which point the device disappeared.

Ok, that was probably not the right thing to do.

One of the items that showed as in use was Alexa. Deleting that disabled Alexa connection to SmartThings.

Disabled the skill in Alexa app, then enabled it again. All devices rediscovered, groups and Alexa Routines somehow survived.

:face_with_raised_eyebrow:

@HalD hey, i seem to have the same issue here and cannot seem to delete it. it does not show up in IDE and is not in use by anything. but it does show up in the list of devices. any suggestions ? thanks

The icon of two light bulbs means it’s a lighting group. You should be able to delete it in the app. Try a long press on that tile and then choose edit.

1 Like

oh… well when i long press it, it only allows me to move the tile. when i tap it, all the tiles “load” quickly and nothing occurs. when i hit the power icon in the tile it just spins and does nothing.

Agree with @philh30 that you’re looking at a Lighting Group.

Try going to Devices tab, then your Kitchen room. Long press there.

I’ve got a couple of Lighting Groups but they’re pretty useless. Here’s what I see when I long press one.

If I pick Edit I can see the devices in the group. Scroll to the bottom for a Remove Group button.

I’m using an Android device and it looks like @HalD is too. Your screenshot looks different so I’m guessing you’re on iOS? If you have an Android device then give that a try - there have been differences in functionality between the versions in the past.

1 Like

Agree that there’s something odd about the screenshot.

Last I saw, iOS didn’t have the ability to customize icons and the shot shows some of the new icons.

@9three can you verify that you’re using the SmartThings app and not some other interface like Google Home or Bixby?

1 Like

Definitely Android. Screenshot has “One UI” in the file name.

2 Likes

Good eye. That’s the One UI Home app for Galaxy devices.

It is only odd because it isn’t the SmartThings app, it is the Devices menu on a Samsung phone.

1 Like

It looks like you are viewing the SmartThings devices via ‘Devices and Media’ on a Samsung Galaxy so you are not actually in the SmartThings app as such.

If you open the SmartThings app itself you will find the advice you are being offered will make more sense. Many of the users here won’t be using Samsung phones so will not recognise your screenshot, and even those that do might not have ‘Devices and Media’ enabled. I certainly don’t.

3 Likes


yes this is the One UI on android. strange though, the lighting group doesnt exist in the room Kitchen, but it exists in the Devices and Media tab… when i was initially playing with @philh30 's driver for the 52525 switch, i recall creating a lighting group, and called it Test. i dont recall where i deleted it though, as it still remains in the Devices list… but not in the ST app itself.

From that screen, tap on Kitchen, then hit All Devices, then hit the magnifying glass to search, then start typing Kitchen in the search bar to see if that group pops up. Tap on the device, then try the 3 dot menu in the top right to go to Edit->Delete.

Correction… type “test” in the search. I was thinking your lighting group was called Kitchen.


nope Test doesnt exist, these are all the devices

ok, found something here… i went and created a new Lighting Group called Next Test, and then went to the Devices Tab, and found the Test was gone…

then i deleted the new LG called Next Test from within ST app, and it still remains in the devices Tab… found the bug i guess.

1 Like

I see only two possible solutions: buy more smart devices so that menu fills up with real devices or toss the phone.

2 Likes

Bug in a Samsung app. Shocking! :grin::sunglasses:

1 Like