# HomeyScript - how to remove unused tags

**URL:** <https://community.homey.app/t/homeyscript-how-to-remove-unused-tags/85796>\
**Category:** Questions & Help\
**Tags:** homey-pro\
**Created:** [August 2, 2023, 8:13am UTC](https://community.homey.app/t/homeyscript-how-to-remove-unused-tags/85796 "2023-08-02T08:13:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/seb/32/4135_2.png) [@Seb](https://community.homey.app/u/Seb)\
**Post date:** [August 2, 2023, 8:13am UTC](https://community.homey.app/t/homeyscript-how-to-remove-unused-tags/85796/1 "2023-08-02T08:13:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Marcel\_Ubels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_ubels/32/18860_2.png) [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Post date:** [August 2, 2023, 8:19am UTC](https://community.homey.app/t/homeyscript-how-to-remove-unused-tags/85796/2 "2023-08-02T08:19:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Seb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/seb/32/4135_2.png) [@Seb](https://community.homey.app/u/Seb)\
**Post date:** [August 2, 2023, 8:31am UTC](https://community.homey.app/t/homeyscript-how-to-remove-unused-tags/85796/3 "2023-08-02T08:31:54Z")

</div>

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!!!

---

<div class="post-metadata">

**Author:** ![Marcel\_Ubels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_ubels/32/18860_2.png) [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Post date:** [August 2, 2023, 8:38am UTC](https://community.homey.app/t/homeyscript-how-to-remove-unused-tags/85796/4 "2023-08-02T08:38:35Z")

</div>

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
