# Custom listbox

**URL:** <https://community.homey.app/t/custom-listbox/108683>\
**Category:** Questions & Help\
**Tags:** homey-pro\
**Created:** [April 22, 2024, 10:26pm UTC](https://community.homey.app/t/custom-listbox/108683 "2024-04-22T22:26:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mailgifson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mailgifson/32/81258_2.png) [@Mailgifson](https://community.homey.app/u/Mailgifson)\
**Post date:** [April 22, 2024, 10:26pm UTC](https://community.homey.app/t/custom-listbox/108683/1 "2024-04-22T22:26:18Z")

</div>

Hello.

Is there a way to create a drop-down list with customizable values?

The idea is to create a component that allows you to have several presence statuses: At work, On leave, In vacation,… And to use the selection value in flows.

Thank you in advance for your answers.

---

<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:** [April 23, 2024, 5:16am UTC](https://community.homey.app/t/custom-listbox/108683/2 "2024-04-23T05:16:47Z")

</div>

Do you mean in an app?  
If so, you can create a custom capability that has a drop list of predefined values but the list can’t be defined ‘on the fly’.

---

<div class="post-metadata">

**Author:** ![Mailgifson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mailgifson/32/81258_2.png) [@Mailgifson](https://community.homey.app/u/Mailgifson)\
**Post date:** [April 23, 2024, 11:54am UTC](https://community.homey.app/t/custom-listbox/108683/3 "2024-04-23T11:54:58Z")

</div>

The idea would be to create a personal application and add a capability?

I read the development part of the Homey a few days ago. So it’s all new to me. I will look into this part in more detail.

---

<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:** [April 23, 2024, 1:02pm UTC](https://community.homey.app/t/custom-listbox/108683/4 "2024-04-23T13:02:20Z")

</div>

That is certainly doable. Just create a custom capability that has the options you want and create a Flow trigger that is fired when the option changes.

---

<div class="post-metadata">

**Author:** ![PeterHa](https://avatars.discourse-cdn.com/v4/letter/p/94ad74/32.png) [@PeterHa](https://community.homey.app/u/PeterHa)\
**Post date:** [April 23, 2024, 3:40pm UTC](https://community.homey.app/t/custom-listbox/108683/5 "2024-04-23T15:40:32Z")

</div>

Hi @Mailgifson ,  
I’m also looking for a solution to set more different presence statuses.  
Currently I’m setting absence, at home and sleep with a remote double switch which fills a variable.  
This works well, but I would like to set more “rarer” statuses, like guests, vacation,etc.  
Yes, I could also use flows to fill up the the variable, but that be done for sure more user friendly.

So, would be great if you would share your solution also with me and forum.
