# Childdevice cleanup bug?

**URL:** <https://community.smartthings.com/t/childdevice-cleanup-bug/12467>\
**Category:** Writing SmartApps\
**Created:** [March 9, 2015, 12:31am UTC](https://community.smartthings.com/t/childdevice-cleanup-bug/12467 "2015-03-09T00:31:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Maxwell](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/mike_maxwell/32/18673_2.png) [@Mike\_Maxwell](https://community.smartthings.com/u/Mike_Maxwell)\
**Post date:** [March 9, 2015, 12:31am UTC](https://community.smartthings.com/t/childdevice-cleanup-bug/12467/1 "2015-03-09T00:31:54Z")

</div>

Working with a smart app that creates child devices, It would appear that if the child device(s) are moved into a group, they are not deleted when the app is uninstalled.  
The are deleted properly as long as they aren’t assigned to a group after being created.

After the app is removed, the devices that were in the groups cannot be deleted after the fact.

Has anyone seen this, or can confirm?, thanks.

---

<div class="post-metadata">

**Author:** ![infofiend](https://avatars.discourse-cdn.com/v4/letter/i/e99b99/32.png) [@infofiend](https://community.smartthings.com/u/infofiend)\
**Post date:** [March 9, 2015, 4:17am UTC](https://community.smartthings.com/t/childdevice-cleanup-bug/12467/2 "2015-03-09T04:17:46Z")

</div>

I have that exact problem now. A “ghost” Hue Bridge remains in a group - I’m unable to delete it, and the Hue (Connect) Service Manager is now unable to find my Hue Bridge.

After a little bit of back-and-forth with Customer Service, I am now completely resetting the ST hub and starting from scratch.

---

<div class="post-metadata">

**Author:** ![Mike\_Maxwell](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/mike_maxwell/32/18673_2.png) [@Mike\_Maxwell](https://community.smartthings.com/u/Mike_Maxwell)\
**Post date:** [March 9, 2015, 1:35pm UTC](https://community.smartthings.com/t/childdevice-cleanup-bug/12467/3 "2015-03-09T13:35:01Z")

</div>

> [@infofiend](#):
>
> I have that exact problem now. A “ghost” Hue Bridge remains in a group - I’m unable to delete it, and the Hue (Connect) Service Manager is now unable to find my Hue Bridge.
> 
> After a little bit of back-and-forth with Customer Service, I am now completely resetting the ST hub and starting from scratch.

… 85 devices, 8 custom device types, 10 custom smart apps, hue and harmony integrations…  
Starting over isn’t an option for me.

---

<div class="post-metadata">

**Author:** ![infofiend](https://avatars.discourse-cdn.com/v4/letter/i/e99b99/32.png) [@infofiend](https://community.smartthings.com/u/infofiend)\
**Post date:** [March 9, 2015, 1:56pm UTC](https://community.smartthings.com/t/childdevice-cleanup-bug/12467/4 "2015-03-09T13:56:56Z")

</div>

You’re not missing much. AFTER THE COMPLETE RESET . . . wait for it . . . I STILL CANNOT SEE MY HUE HUB.

I’m super pleased,
