# Node-Red a logical functions AND, OR, NOT in HomeAssistant

**URL:** https://discourse.nodered.org/t/node-red-a-logical-functions-and-or-not-in-homeassistant/45014
**Category:** General
**Created:** [1 May 2021 10:16 UTC](https://discourse.nodered.org/t/node-red-a-logical-functions-and-or-not-in-homeassistant/45014 "2021-05-01T10:16:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Lion](https://avatars.discourse-cdn.com/v4/letter/l/57b2e6/32.png) [@Lion](https://discourse.nodered.org/u/Lion)
#### Post date: [1 May 2021 10:16 UTC](https://discourse.nodered.org/t/node-red-a-logical-functions-and-or-not-in-homeassistant/45014/1 "2021-05-01T10:16:15Z")

</div>

Hello.

I’m sorry about my very bad English. I also apologize for the question regarding HomeAssistant  
Maybe that’s why I can’t find the answer to my question.  
I also do not know whether I will formulate the question clearly enough.  
I need to know if it is possible in node TRIGGER: State insert the condition as amended by the example: Person ‘A’ ; is not ;in zone 1 or zone 2.  
Otherwise said: Person “A” does not have a status: “Home” or “Around”.

I believe I would certainly find the answer to my question here, but I am unable to do so. Please be very patient with me  
Many, first, thank you for your time and willingness to help me  
Thank you very, very much

 ![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/0/e0e7bca4e79598bba5bd5d2663610de48508b953.jpeg)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [1 May 2021 11:15 UTC](https://discourse.nodered.org/t/node-red-a-logical-functions-and-or-not-in-homeassistant/45014/2 "2021-05-01T11:15:47Z")

</div>

That looks like a Home Assistant node, so you would probably be better asking in an HA forum.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [30 June 2021 11:16 UTC](https://discourse.nodered.org/t/node-red-a-logical-functions-and-or-not-in-homeassistant/45014/3 "2021-06-30T11:16:18Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
