# Is there any way to change min/max of number flowcard arguments using homey app code?

**URL:** <https://community.homey.app/t/is-there-any-way-to-change-min-max-of-number-flowcard-arguments-using-homey-app-code/142336>\
**Category:** Developers\
**Tags:** flow\
**Created:** [August 28, 2025, 3:29am UTC](https://community.homey.app/t/is-there-any-way-to-change-min-max-of-number-flowcard-arguments-using-homey-app-code/142336 "2025-08-28T03:29:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hoonb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hoonb/32/126627_2.png) [@hoonb](https://community.homey.app/u/hoonb)\
**Post date:** [August 28, 2025, 3:29am UTC](https://community.homey.app/t/is-there-any-way-to-change-min-max-of-number-flowcard-arguments-using-homey-app-code/142336/1 "2025-08-28T03:29:12Z")

</div>

Is there any way to change min/max of number flowcard arguments using homey app code?

---

<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:** [August 31, 2025, 8:33am UTC](https://community.homey.app/t/is-there-any-way-to-change-min-max-of-number-flowcard-arguments-using-homey-app-code/142336/2 "2025-08-31T08:33:24Z")

</div>

You mean dynamically change the flow card definition? I don’t think that’s possible. The predefined JSON definition will always count.

---

<div class="post-metadata">

**Author:** ![hoonb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hoonb/32/126627_2.png) [@hoonb](https://community.homey.app/u/hoonb)\
**Post date:** [September 4, 2025, 3:18am UTC](https://community.homey.app/t/is-there-any-way-to-change-min-max-of-number-flowcard-arguments-using-homey-app-code/142336/3 "2025-09-04T03:18:38Z")

</div>

Yes, I’d like to dynamically change the min/max values ​​of numeric arguments in a flow card. For Capability, you can use Device.setCapabilityOptions to change the min and max values ​​for a capability. I’m wondering if this is also possible for flow card arguments.

---

<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:** [September 4, 2025, 6:37am UTC](https://community.homey.app/t/is-there-any-way-to-change-min-max-of-number-flowcard-arguments-using-homey-app-code/142336/4 "2025-09-04T06:37:42Z")

</div>

I haven’t seen a possibility to do that. It’ just predefined in JSON definition of the flow card.
