# Current state node

**URL:** <https://discourse.nodered.org/t/current-state-node/19338>\
**Category:** General\
**Created:** [19 December 2019 10:26 UTC](https://discourse.nodered.org/t/current-state-node/19338 "2019-12-19T10:26:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yabbah](https://avatars.discourse-cdn.com/v4/letter/y/3e96dc/32.png) [@yabbah](https://discourse.nodered.org/u/yabbah)\
**Post date:** [19 December 2019 10:26 UTC](https://discourse.nodered.org/t/current-state-node/19338/1 "2019-12-19T10:26:15Z")

</div>

Hi out there. I'm new to Node-Red but I try learning. I have try figure out how to check if a state is not `Home` or `Just arrived`. I have tried use a node for home assistant which is current state mode, and filter on `if state, not in` and typed `Home, Just arrived` in the box. I have tried " around Just arrived too but it isn't work either. If the state is Home it wont ge further in the sequence, but if state is Just arrived it still goes through. What is I missing?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [19 December 2019 14:43 UTC](https://discourse.nodered.org/t/current-state-node/19338/2 "2019-12-19T14:43:48Z")

</div>

Welcome to the community.

With questions like this, it is really hard for us to understand what is going on unless you can share perhaps an image of your flow and perhaps an export of it as well.

It is also generally a good idea to share which versions of node.js, npm, Node-RED you are using along with your platform and OS version.
