# Put value id of enum capability in tag

**URL:** <https://community.homey.app/t/put-value-id-of-enum-capability-in-tag/149611>\
**Category:** Developers\
**Created:** [January 19, 2026, 10:23pm UTC](https://community.homey.app/t/put-value-id-of-enum-capability-in-tag/149611 "2026-01-19T22:23:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Berrie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/berrie/32/12410_2.png) [@Berrie](https://community.homey.app/u/Berrie)\
**Post date:** [January 19, 2026, 10:23pm UTC](https://community.homey.app/t/put-value-id-of-enum-capability-in-tag/149611/1 "2026-01-19T22:23:05Z")

</div>

To create a picker GUI component, the following is defined in driver.flow.compose.json:

```auto
  "actions": [
    {
      "id": "change_measure_my_picker_dir",
      "title": {
        "en": "Verander richting"
      },
      "args": [
        {
          "name": "dropdown_richting",
          "type": "dropdown",
          "values": [
            {
              "id": "Auto",
              "label": {
                "en": "naar Auto"
              }
            },
            {
              "id": "Buiten",
              "label": {
                "en": "naar Buiten"
              }
            },
            {
              "id": "Binnen",
              "label": {
                "en": "naar Binnen"
              }
            }
          ]
        }
      ]
    },

```

The capability is used in driver.compose.json:

```auto
  "capabilities": [
    "measure_my_picker_dir"
  ],

```

In principle this is functioning. However, the tag which shows up for the device has the number 1, 2 or 3.  
I would like that the id (or label) “Auto”, “Buiten” or “Binnen” is printed in the tag such that it can be used within a flow as text.  
Does anyone know how to get this done?

---

<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:** [January 31, 2026, 1:17pm UTC](https://community.homey.app/t/put-value-id-of-enum-capability-in-tag/149611/2 "2026-01-31T13:17:37Z")

</div>

Can you show as screenshot where ‘the tag shows up’?

If you mean the tag list where you can select a tag to enter it into a flow card, they just show examples for such tags, because a design time, you don’t know a value.

Only tags for ‘real’ capabilities are showing the current value.

---

<div class="post-metadata">

**Author:** ![Berrie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/berrie/32/12410_2.png) [@Berrie](https://community.homey.app/u/Berrie)\
**Post date:** [January 31, 2026, 9:51pm UTC](https://community.homey.app/t/put-value-id-of-enum-capability-in-tag/149611/3 "2026-01-31T21:51:56Z")

</div>

As example I just print the tag value on the timeline:

 ![Screenshot_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/e/3efdba50c0f92fc79f646d713f716d6af631cdc5.jpeg)

There it shows 1, 2 or 3. So that’s the real value of the capability.

---

<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:** [February 1, 2026, 9:03am UTC](https://community.homey.app/t/put-value-id-of-enum-capability-in-tag/149611/4 "2026-02-01T09:03:15Z")

</div>

First: I think you answered the thread, not my answer, so I get no notification.

About your tag. It’s the tag for a device capability, right?

Then you are right. It should show the IDs from your capability (‘Auto’ etc).

I will check my devices later if I get the IDs or not.

---

<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:** [February 1, 2026, 9:45am UTC](https://community.homey.app/t/put-value-id-of-enum-capability-in-tag/149611/5 "2026-02-01T09:45:16Z")

</div>

I used an enum caopability as tag:

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/b/db7507569373457a06bc249eba1389c6523f4729.png)

It’s using the capability enum ID:

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/687385fe37f358d5e4eed5eb563de259abdf9042.png)

---

<div class="post-metadata">

**Author:** ![Berrie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/berrie/32/12410_2.png) [@Berrie](https://community.homey.app/u/Berrie)\
**Post date:** [February 2, 2026, 9:24pm UTC](https://community.homey.app/t/put-value-id-of-enum-capability-in-tag/149611/6 "2026-02-02T21:24:23Z")

</div>

Thanks for your replies. I don’t get the IDs. The difference is probably that I did not define the capability explicitly myself. Only the actions in driver.flow.compose.json as indicated in my initial post.
