# Custom Capability and CLI Developer Preview

**URL:** <https://community.smartthings.com/t/custom-capability-and-cli-developer-preview/197296>\
**Category:** Tutorials\
**Tags:** devicetype, developers\
**Created:** [June 16, 2020, 11:50am UTC](https://community.smartthings.com/t/custom-capability-and-cli-developer-preview/197296 "2020-06-16T11:50:54Z")\
**Posts on this page:** 1\
**Showing post:** 1111

<div class="post-metadata">

**Author:** ![nayelyz](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nayelyz](https://community.smartthings.com/u/nayelyz)\
**Post date:** [January 20, 2021, 9:07pm UTC](https://community.smartthings.com/t/custom-capability-and-cli-developer-preview/197296/1111 "2021-01-20T21:07:27Z")

</div>

Hi, there! Glad to help you all anytime. Feel free to ask about anything. 😉

1. Yes, only one attribute is displayed because capabilities should be used for one function and a device can wrap several functions. In this case, 5 switches mean 5 functions because they would turn on/off different components.
2. A capability can be used several times in a device if it is included in different `components`.  
For DTHs, there’s an open issue about using custom device configurations with [multiple component devices](https://docs.smartthings.com/en/latest/composite-devices/index.html) (only the “main” component is displayed).  
If you want to use components and your integration is cloud-connected, I suggest you use [ST Schema](https://community.smartthings.com/t/schema-devices-and-custom-capabilities/199675).
3. Our team is aware and keeps working on this matter. Right now, the presentation doesn’t take long to update, you just need to make sure your device is using the correct one. (See the [checklist](https://community.smartthings.com/t/custom-capability-and-cli-developer-preview/197296/989) I shared some while ago).

---

_[View the full topic](https://community.smartthings.com/t/custom-capability-and-cli-developer-preview/197296)._
