# Send value to command in a UI rule

**URL:** <https://community.openhab.org/t/send-value-to-command-in-a-ui-rule/133405>\
**Category:** Scripts & Rules\
**Created:** [February 17, 2022, 5:32pm UTC](https://community.openhab.org/t/send-value-to-command-in-a-ui-rule/133405 "2022-02-17T17:32:22Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [February 18, 2022, 2:29pm UTC](https://community.openhab.org/t/send-value-to-command-in-a-ui-rule/133405/8 "2022-02-18T14:29:40Z")

</div>

And, because this might be an XY Problem, there are a couple of other ways you can achieve this.

1. The Follow Profile, no rule required. [Items | openHAB](https://www.openhab.org/docs/configuration/items.html#profiles)

2. The Debounce rule template on the marketplace, no coding required but you will have to add Item metadata. To get a straight passthrough, just use ‘0s’ as the debounce time. [Debounce [3.2.0;3.4.9]](https://community.openhab.org/t/debounce/128048)

---

_[View the full topic](https://community.openhab.org/t/send-value-to-command-in-a-ui-rule/133405)._
