# While uninstalling (test) app, it's devices disappeared. By design? --\> YES

**URL:** <https://community.homey.app/t/while-uninstalling-test-app-its-devices-disappeared-by-design-yes/68785>\
**Category:** Developers\
**Tags:** app, homey-pro, experimental\
**Created:** [September 12, 2022, 7:53pm UTC](https://community.homey.app/t/while-uninstalling-test-app-its-devices-disappeared-by-design-yes/68785 "2022-09-12T19:53:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 12, 2022, 7:53pm UTC](https://community.homey.app/t/while-uninstalling-test-app-its-devices-disappeared-by-design-yes/68785/1 "2022-09-12T19:53:50Z")

</div>

Howdy,

Homey Pro. I was testing an testversion app a.k.a. experimental app, and I decided to uninstall it, reboot Homey and start over by installing it again.  
The app was installed using the app store, nothing special here.

But after the uninstall, I noticed all (35 ish) devices were gone…  
Is that by design, or is this a new discovered function?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [September 12, 2022, 8:06pm UTC](https://community.homey.app/t/while-uninstalling-test-app-its-devices-disappeared-by-design-yes/68785/2 "2022-09-12T20:06:09Z")

</div>

It’s by design. When you uninstall an app, all the associated data is deleted as well.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 12, 2022, 8:10pm UTC](https://community.homey.app/t/while-uninstalling-test-app-its-devices-disappeared-by-design-yes/68785/3 "2022-09-12T20:10:11Z")

</div>

Thanks for the quick reply, Adrian.  
So, this is only the case with testversion apps?

I switched a while between the Athom and community HA apps, and their devices don’t disappear, they just become unavailable for the overwritten app (both apps overwrite eachother).  
I probably never uninstalled an test version app before. I didn’t expect the devices to be removed 😬

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [September 12, 2022, 8:13pm UTC](https://community.homey.app/t/while-uninstalling-test-app-its-devices-disappeared-by-design-yes/68785/4 "2022-09-12T20:13:49Z")

</div>

It should be the same for both stable and test versions so maybe I’m wrong. I will do some checks and get back to you.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 12, 2022, 8:14pm UTC](https://community.homey.app/t/while-uninstalling-test-app-its-devices-disappeared-by-design-yes/68785/5 "2022-09-12T20:14:49Z")

</div>

Thanks, no hurries!

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 12, 2022, 8:18pm UTC](https://community.homey.app/t/while-uninstalling-test-app-its-devices-disappeared-by-design-yes/68785/6 "2022-09-12T20:18:29Z")

</div>

Tested it. There is a warning before uninstalling, I just didn’t bother to read …  
HA Devices disappeared after uninstall

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [September 12, 2022, 8:19pm UTC](https://community.homey.app/t/while-uninstalling-test-app-its-devices-disappeared-by-design-yes/68785/7 "2022-09-12T20:19:04Z")

</div>

I have just installed a stable app on my development Homey, added a device and then uninstalled the app and the device was deleted at the same time. So seems to be as I expected.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 12, 2022, 8:22pm UTC](https://community.homey.app/t/while-uninstalling-test-app-its-devices-disappeared-by-design-yes/68785/8 "2022-09-12T20:22:36Z")

</div>

The warning is quite clear indeed! Case closed!

 ![Screenshot_20220912-222033_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/6/76c432fcda9ccb1e0ca621125b9a89a1219762d2.jpeg)

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [September 12, 2022, 9:13pm UTC](https://community.homey.app/t/while-uninstalling-test-app-its-devices-disappeared-by-design-yes/68785/9 "2022-09-12T21:13:12Z")

</div>

There is one exception. If you install an app via CLI in debug mode (homey app run) anf perhaps overwriting an existing app, add devices and kill the app in the console window (CTRL+C), the app gets uninstalled and the devices are still present. That’s by design, too. So you can install a new development version and test again with existing devices
