HomeyScript - how to remove unused tags

When creating a script setting tags, the tag is born with a specific type.
I have not been able to change this type, so I have to create a new tag.

now my script has linked a bunch a tag’s which is not in use anylonger.

how can I remove/delete these tags, while they seems to be fixed to the script.
I even tried to delete the script .js from HomeyScript and created it again, but this did not work.

looking forward to see any of you guys solving this.

Await tag(‘name of tag’, null)
There are examples for this in Homeyscript at the top of all your scripts

I tried the null part, but the tag still existed with the type.

but I noticed I had a second test script using the same tag, which I commented out.
now the tag is all gone.

so note-to-self becarefull on having same tag’s in several scripts.

case solved!!!

You also can search for your homeyscript tags. Make a flow, when…, then logic Text/Number is exactly value. Go to Text/Number and type Homey and you see all your Homeyscript tags.

So i had quite some unused

2 Likes