Can't access hub variable with single quote in the name

Looks like this char may be a problem in variable names. The Hubitat "working" spinner never stops when I click on the variable "erika's bedroom auto lighting". Rules that have it as a trigger have stopped triggering as well. This started happening right after I changed the name to that from "EBR auto lighting". How to delete this variable or change its name to something else? C5 Hub with release 2.4.2.125 running.

You should be able to navigate away from that stuck page (back ok). Then, you should be able to open Hub Variables (if not, let me know). That variable is toast until we get a fix released.

This is from the face of Hub Variables:

There's a crack in rename where it's letting the disallowed chars through. That will get fixed, along with cleaning up of misnames.

2 Likes

You are correct. I can navigate away and back and also open hub variables. So no real functionality problems. I'll stand by for the fix.

The fix for this was released in 2.4.2.128, although latest 2.4.2.129 has it as well. What upgrading will do is rename any Hub Variable with a single quote in its name to the same name minus the single quote. This will update the apps that use that Hub Variable to reference the changed name. And, Hub Variables itself will now disallow the prohibited characters when renaming a variable. Please post when you have given this a shot.

I upgraded to v2.4.2.129 and after a short while the variable was indeed automatically renamed. Rules that used it also reflected the name change. So it looks like the fix worked. Much appreciated!

1 Like