# Button State node - is something similar available for Dashboard 2?

**URL:** https://discourse.nodered.org/t/button-state-node-is-something-similar-available-for-dashboard-2/90933
**Category:** Dashboard
**Tags:** dashboard-2
**Created:** [13 September 2024 08:57 UTC](https://discourse.nodered.org/t/button-state-node-is-something-similar-available-for-dashboard-2/90933 "2024-09-13T08:57:32Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [13 September 2024 20:16 UTC](https://discourse.nodered.org/t/button-state-node-is-something-similar-available-for-dashboard-2/90933/8 "2024-09-13T20:16:50Z")

</div>

> [@hazymat](#):
>
> When you press the button, it toggles the state of the water supply. But each toggle takes a certain amount of time to open or close the valve. So the LED shows the state of the valve normally, but also when you press the button, the LED flashes for 3 seconds to indicate that the valve is opening or closing, this provides feedback to the user so he knows the button press was correctly registered. This is really important when controlling certain devices which could be sensitive to change such as water supply for a whole building!

This is an interesting concept and not one I'd considered. I'm quite interested because I'm thinking about button and switch designs at the moment.

A button component that has a built-in option for a temporary intermediate step which is either time-based as in your example or event driven, eg. after a click, it stays in the intermediate state until some external event moves it to the final state.

I suppose you would need to allow for a similar warm-down transition as well?

Such a button could be visualised either as a traditional button or as a "switch" I think. With the switch visualisation being a horizontal or vertical pill shape as you describe.

Are there other features you would want in such a button?

And note that I would keep this distinct as a button and not a multi-way switch which is something quite different. I think that would need a different definition.

I've just been building a web component that duplicates browser console log output to the web page. But an enhanced button might be an interesting next component to work on.

---

_[View the full topic](https://discourse.nodered.org/t/button-state-node-is-something-similar-available-for-dashboard-2/90933)._
