# Using off state hue light in AND section

**URL:** <https://community.homey.app/t/using-off-state-hue-light-in-and-section/14672>\
**Category:** Questions & Help\
**Created:** [June 22, 2019, 8:41am UTC](https://community.homey.app/t/using-off-state-hue-light-in-and-section/14672 "2019-06-22T08:41:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![FloS](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flos/32/12413_2.png) [@FloS](https://community.homey.app/u/FloS)\
**Post date:** [June 22, 2019, 8:41am UTC](https://community.homey.app/t/using-off-state-hue-light-in-and-section/14672/1 "2019-06-22T08:41:01Z")

</div>

Hi,

Got Homey last week and creating some basic flows. The problem I’m facing is that i can’t seem to use the off state of a hue light in the and section and I was wondering if it is possible to fix this.

Flow:  
when  
x change  
and x is true  
and hue-light is off  
then  
turn hue-light on

Thanks!

---

<div class="post-metadata">

**Author:** ![CyberSponk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cybersponk/32/8334_2.png) [@CyberSponk](https://community.homey.app/u/CyberSponk)\
**Post date:** [June 22, 2019, 8:58am UTC](https://community.homey.app/t/using-off-state-hue-light-in-and-section/14672/3 "2019-06-22T08:58:24Z")

</div>

> [@FloS](#):
>
> that i can’t seem to use the off state of a hue light in the and section

Tryed this \> Can use the State of a Hue-Bulb (Hue-Bulb with Hue-Bridge on Homey) in the **AND** -Column. Could you post a Screenshot your Flow here?

---

<div class="post-metadata">

**Author:** ![FloS](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flos/32/12413_2.png) [@FloS](https://community.homey.app/u/FloS)\
**Post date:** [June 22, 2019, 8:59am UTC](https://community.homey.app/t/using-off-state-hue-light-in-and-section/14672/4 "2019-06-22T08:59:33Z")

</div>

Hi Roy,

Sorry about that! I’m using the **Philips Hue ZigBee | v1.4.5 - 28.04.19** app.

So with the power of I mean that the hue light is in the off state so there is still power on the lightbulb itself.

The flow that I’m trying to create is that if my pc is turned on (better logic variable set to true) the light in a room should also turn on if not already on.

Like this:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/2/2c4e61afadf67813d159f1fdbc2365f1e2f7caf2.jpeg)

When I look for the office light, in this case, I can only select the on the state. So in the flow above ‘is on’ should be ‘is off’ Might be missing something here 😅

---

<div class="post-metadata">

**Author:** ![CyberSponk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cybersponk/32/8334_2.png) [@CyberSponk](https://community.homey.app/u/CyberSponk)\
**Post date:** [June 22, 2019, 9:03am UTC](https://community.homey.app/t/using-off-state-hue-light-in-and-section/14672/5 "2019-06-22T09:03:15Z")

</div>

If i am Right: Is ann = Is On, Zet aan = Switch On.

If this is the case the Flow couldn’t work. You are lokking in **AND** if the Hue-Light is On and in **WHEN** the Hue-Light should be turned on.

On the Card of the Hue-Light should be an Option “Invert” \> Is this given on your Hue-Light? This should be turned on \> In **AND** the Hue-Light becomes “Is not On”. Then it should work.

---

<div class="post-metadata">

**Author:** ![FloS](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flos/32/12413_2.png) [@FloS](https://community.homey.app/u/FloS)\
**Post date:** [June 22, 2019, 9:56am UTC](https://community.homey.app/t/using-off-state-hue-light-in-and-section/14672/7 "2019-06-22T09:56:19Z")

</div>

Perfect! Totally missed that option on the card!😅

Thanks for the help!
