# Variables in Advanced Flows for setting light dim % not working

**URL:** <https://community.homey.app/t/variables-in-advanced-flows-for-setting-light-dim-not-working/150937>\
**Category:** Questions & Help\
**Tags:** flow, advancedflow\
**Created:** [February 10, 2026, 7:23pm UTC](https://community.homey.app/t/variables-in-advanced-flows-for-setting-light-dim-not-working/150937 "2026-02-10T19:23:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Drako74](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drako74/32/150506_2.png) [@Drako74](https://community.homey.app/u/Drako74)\
**Post date:** [February 10, 2026, 7:23pm UTC](https://community.homey.app/t/variables-in-advanced-flows-for-setting-light-dim-not-working/150937/1 "2026-02-10T19:23:22Z")

</div>

Hello hive mind,

I’ve been having issues using number variables in advanced flows to set the dim % level of a number of bulbs/lights in a room.  
Apart from making it easier to adjust them all in unison, it also would allow me to modify the value from the mobile app, as you can’t see/edit advanced flows in the app.

The problem I am experiencing is for example create a number variable with a value of 15 to set the dim level to 15% instead of the bulbs default 50%. But when the flow triggers it sets them all to 100%.

Has anyone else had similar problems? or am I just going slightly mad ha ha…

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [February 10, 2026, 7:33pm UTC](https://community.homey.app/t/variables-in-advanced-flows-for-setting-light-dim-not-working/150937/2 "2026-02-10T19:33:40Z")

</div>

Instead of using values from 0 to 100, you need to use values from 0 to 1.

Example:  
0.15 = 15%  
0.5 = 50%  
1 = 100%

---

<div class="post-metadata">

**Author:** ![Drako74](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drako74/32/150506_2.png) [@Drako74](https://community.homey.app/u/Drako74)\
**Post date:** [February 11, 2026, 12:32am UTC](https://community.homey.app/t/variables-in-advanced-flows-for-setting-light-dim-not-working/150937/3 "2026-02-11T00:32:03Z")

</div>

Ahhh the madness 🤪 I had a sneaky suspicion I was missing some subtle quirk causing it to err… mwahahaha 🧛‍♂️

Many thanks kind sir, I shall give it a whirl 🤘🏼
