# Walk through input\_select options

**URL:** <https://discourse.nodered.org/t/walk-through-input-select-options/99716>\
**Category:** General\
**Tags:** home-assistant\
**Created:** [19 November 2025 11:29 UTC](https://discourse.nodered.org/t/walk-through-input-select-options/99716 "2025-11-19T11:29:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![hansjeu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hansjeu/32/104458_2.png) [@hansjeu](https://discourse.nodered.org/u/hansjeu)\
**Post date:** [19 November 2025 11:29 UTC](https://discourse.nodered.org/t/walk-through-input-select-options/99716/1 "2025-11-19T11:29:45Z")

</div>

I have defined an input\_select in my configuration.yaml in home assistant.

 ![afbeelding](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/a/8a6eb3deca0882d4b01142209694cfb858a1da2c.png)  
My question:  
Is it possible to loop through the input\_select (option by option) when I press a zigbee button.  
I've looked at the action node but can't figure it out.

Can anyone help me?

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [19 November 2025 11:48 UTC](https://discourse.nodered.org/t/walk-through-input-select-options/99716/2 "2025-11-19T11:48:36Z")

</div>

Welcome to the Node-red forum @hansjeu

Forgive my ignorance but are configuration.yaml or the action node anything to do with Node-red?  
Are you looking for a purely Node-red solution?

Can you explain what you mean by "loop through the input\_select"? For what purpose?  
Can you show us the message that arrives in Node-red and describe what you want to happen?

---

<div class="post-metadata">

**Author:** ![hansjeu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hansjeu/32/104458_2.png) [@hansjeu](https://discourse.nodered.org/u/hansjeu)\
**Post date:** [19 November 2025 12:16 UTC](https://discourse.nodered.org/t/walk-through-input-select-options/99716/3 "2025-11-19T12:16:45Z")

</div>

I have a 4-part ZigBee button. When I press the second button, I want "Warn White" to be selected. When I press it again, "Neutral White" is selected, etc.

I'd like to see all of this happen in Node-Red.

---

<div class="post-metadata">

**Author:** ![mikefila](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mikefila/32/95223_2.png) [@mikefila](https://discourse.nodered.org/u/mikefila)\
**Post date:** [19 November 2025 13:42 UTC](https://discourse.nodered.org/t/walk-through-input-select-options/99716/4 "2025-11-19T13:42:39Z")

</div>

You can use `input_select.select_next`

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/e/3e029162c2ec647e902f2094a1935666006ade77.png)

---

<div class="post-metadata">

**Author:** ![hansjeu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hansjeu/32/104458_2.png) [@hansjeu](https://discourse.nodered.org/u/hansjeu)\
**Post date:** [19 November 2025 13:55 UTC](https://discourse.nodered.org/t/walk-through-input-select-options/99716/5 "2025-11-19T13:55:22Z")

</div>

Thank you. I've already tried this, but after that, I get stuck.

 ![afbeelding](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/5/054b6f504e5ee48c83a7a4fabfc1854daeed665b.png)

---

<div class="post-metadata">

**Author:** ![hansjeu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hansjeu/32/104458_2.png) [@hansjeu](https://discourse.nodered.org/u/hansjeu)\
**Post date:** [19 November 2025 14:09 UTC](https://discourse.nodered.org/t/walk-through-input-select-options/99716/6 "2025-11-19T14:09:16Z")

</div>

Sorry i was not looking correct.  
How do i get the "new" collor in the payload?

---

<div class="post-metadata">

**Author:** ![mikefila](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mikefila/32/95223_2.png) [@mikefila](https://discourse.nodered.org/u/mikefila)\
**Post date:** [19 November 2025 14:59 UTC](https://discourse.nodered.org/t/walk-through-input-select-options/99716/7 "2025-11-19T14:59:25Z")

</div>

> [@hansjeu](#):
>
> How do i get the "new" collor in the payload?

Do you mean the color(option) that it switched to? Click add under output properties. And use `$entities('input_select.your_select').state`

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/1/015cc0ef76b199d948e7d69397465983ecd27756.png)

---

<div class="post-metadata">

**Author:** ![hansjeu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hansjeu/32/104458_2.png) [@hansjeu](https://discourse.nodered.org/u/hansjeu)\
**Post date:** [19 November 2025 15:57 UTC](https://discourse.nodered.org/t/walk-through-input-select-options/99716/8 "2025-11-19T15:57:24Z")

</div>

Yes thank you very much

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [17 February 2026 15:58 UTC](https://discourse.nodered.org/t/walk-through-input-select-options/99716/9 "2026-02-17T15:58:10Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
