# \[APP\]\[Pro\] Device Capabilities - Enhance the capabilities of devices

**URL:** <https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287>\
**Category:** Apps\
**Tags:** flow, virtual-device, homey-pro, device-capabilities, avd\
**Created:** [February 19, 2021, 8:20am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287 "2021-02-19T08:20:51Z")\
**Posts on this page:** 1\
**Showing post:** 882

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [November 15, 2022, 12:41pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/882 "2022-11-15T12:41:31Z")

</div>

No, run this in the [WebApi Playground](https://tools.developer.homey.app/tools/api-playground).  
Change the deviceID  
**This will remove ALL insights from that device!**

```auto
async function exe(deviceId) {
  let a = await Homey.insights.getLogs();
  a = a.filter((x)=>x.uri=='homey:device:' + deviceId);
  for(var i=0;i<a.length;i++) {
    await Homey.insights.deleteLog(a[i]);
  }
  console.log(a);
}

exe('05507935-ab90-45d1-9cc7-87e0e0917013');

```

I have just created a ticket to create a better solution.  
[QlusterIT / nl.qluster-it.DeviceCapabilities / issues / #10 - Create a view in App Settings to create a script to remove unused/selected insights — Bitbucket](https://bitbucket.org/QlusterIT/nl.qluster-it.devicecapabilities/issues/10/create-a-view-in-app-settings-to-create-a)

---

_[View the full topic](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287)._
