# Philips Hue light Colortint variable not working

**URL:** <https://community.homey.app/t/philips-hue-light-colortint-variable-not-working/143195>\
**Category:** Questions & Help\
**Tags:** hue\
**Created:** [September 19, 2025, 9:04am UTC](https://community.homey.app/t/philips-hue-light-colortint-variable-not-working/143195 "2025-09-19T09:04:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Omaster007](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/omaster007/32/79675_2.png) [@Omaster007](https://community.homey.app/u/Omaster007)\
**Post date:** [September 19, 2025, 9:04am UTC](https://community.homey.app/t/philips-hue-light-colortint-variable-not-working/143195/1 "2025-09-19T09:04:35Z")

</div>

Hello,  
Here i have a flow to adjust the Philips Hue Colortint card with a variable.

This number variable changes when the flow is triggered.

The problem is that this number variable is not working in the Philips Hue Colortint Card.  
When you select the slider a number with a degree symbol is present (like 137°)  
In the Philips Hue Colortint card you can only select a tag with numbered variables.

Does somebody have a solution for this?  
Or maybe this requires a development update.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/c/1c5e81e684efa3253dc3a88573b65a82e3db191a.png)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/7/178dcda274b571a14203f317d3c25f7565a19ff6.png)

Regards,  
Martin

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 19, 2025, 12:51pm UTC](https://community.homey.app/t/philips-hue-light-colortint-variable-not-working/143195/2 "2025-09-19T12:51:47Z")

</div>

“under water” Homey uses 0,01 to 1,00 as % values. So the variable value `11` should be `0.11`

Not sure what your calculation should do, make sure the highest possible result is `1` (which represents 100%):

```auto
{{ max( ( [Outdoor scene]+0.1 ) ,1 ) }}

```

(The last `,1` represents the maximum calculation result for the `max` function)

Optional: To make sure the sum’s result is a valid dim value, round the value to 2 decimals:

```auto
{{ round( max( ( [Outdoor scene]+0.1 ) ,1 ) ,2) }}

```

(The last `,2` represents the maximum number of digits for the `round` function)

Always use decimal points for values and numbers; comma’s are part of the function(s).

---

<div class="post-metadata">

**Author:** ![Omaster007](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/omaster007/32/79675_2.png) [@Omaster007](https://community.homey.app/u/Omaster007)\
**Post date:** [September 19, 2025, 1:41pm UTC](https://community.homey.app/t/philips-hue-light-colortint-variable-not-working/143195/3 "2025-09-19T13:41:55Z")

</div>

Hi,

Thank you for your fast reply.  
This indeed is the correct solution for the flow.

On second thought i could have known this, but couldn’t figure it anymore.

The variable is needs to increased by 1%, so `+0.01`

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 19, 2025, 1:45pm UTC](https://community.homey.app/t/philips-hue-light-colortint-variable-not-working/143195/4 "2025-09-19T13:45:34Z")

</div>

Yea it’s quite confusing, while they use 0 - 360 for hue values;  
Imho they should’ve used 0-100 for dim values.  
And, you’re welcome!
