Trouble Removing Super Global Variables in Hubitat: Seeking Assistance

Some time ago, when transitioning Webcore from SmartThings to Hubitat, I transferred all my Global Variables (GV) from one platform to the other. Though the process felt a bit like untangling headphone wires, I managed to get through it unscathed. However, I made a few unintended slip-ups along the way. One such slip-up occurred when I forgot to remove the "@" symbol while copying and pasting a few Global Variable names. This led to the creation of six Super Global Variables (SGV) with double "@" symbols, which I've affectionately dubbed the "Dam It."

Recently, in an attempt to tidy up my pistons, I used the 'Dump global variables in use' feature to locate and then manually replace the SGVs with Global Variables, piston by piston. However, much to my dismay, the SGVs seem to have developed a stubborn streak, refusing to disappear no matter how many times I hit the 'Delete' key. It's like trying to get rid of a persistent pop-up ad! What am I missing? I can delete Global Variables. I even tried setting their values to something different but no luck.

Eager to streamline my system and prevent any accidental mishaps, I'm determined to rid myself of these troublesome SGVs. While I'm familiar with removing regular Global Variables, tackling these persistent SGVs feels like herding cats during a thunderstorm.

So, fellow tech enthusiasts, any advice for this weary traveler on their quest to conquer the realm of Super Global Variables?

Been a while, but it seems to me that I recall someone a long time ago stating that SGVs will persist across multiple WC instances and need to be removed from all.

CC: @nh.schottfam

1 Like

They appear in the Global variables list

image

1 Like

I only have one Instance

image

I think these are the options you're suggesting.

I won't choose the last one because I'd lose all my initialized values.
I went with the second option yesterday when I manually updated Webcore.
So, would it be the middle one?

I double-dog dare you to create one and see if it appears :wink:

Haha, I'm relieved I didn't dare you to stick your hand into a jar of scorpions! :joy:

Indeed, that method worked like a charm for me too! Thanks for the assistance; it completely solved my issue! :pray: Deleting them in HE did the trick, and the best part is, it even notifies you if they're in use!

2 Likes