# Getting past 'get\_entities' node with No Results

**URL:** <https://discourse.nodered.org/t/getting-past-get-entities-node-with-no-results/38632>\
**Category:** General\
**Created:** [6 January 2021 04:00 UTC](https://discourse.nodered.org/t/getting-past-get-entities-node-with-no-results/38632 "2021-01-06T04:00:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nappyjim](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nappyjim/32/34077_2.png) [@nappyjim](https://discourse.nodered.org/u/nappyjim)\
**Post date:** [6 January 2021 04:00 UTC](https://discourse.nodered.org/t/getting-past-get-entities-node-with-no-results/38632/1 "2021-01-06T04:00:14Z")

</div>

How would I get the flow to continue past the get\_entities node? Even though no lights are on, I want it to continue so that “night mode green” gets set.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/2/720b96581fcc357d2eda9ed0fe3df846ff1eae25.png)

```auto
[{"id":"8fb537a8.828378","type":"tab","label":"Flow 3","disabled":false,"info":""},{"id":"21caa85f.22dd68","type":"ha-get-entities","z":"8fb537a8.828378","server":"ab3e2c53.e3491","name":"Get Lights That are On","rules":[{"property":"entity_id","logic":"starts_with","value":"light.","valueType":"str"},{"property":"entity_id","logic":"does_not_include","value":"light.lamp1,light.kitchen_sink, light.porch, light.master_bedroom_light, light.master_bathroom_light","valueType":"str"},{"property":"state","logic":"is","value":"on","valueType":"str"}],"output_type":"split","output_empty_results":false,"output_location_type":"msg","output_location":"payload","output_results_count":1,"x":360,"y":200,"wires":[["b6acfce6.394f"]]},{"id":"b70c6174.a32ce","type":"server-state-changed","z":"8fb537a8.828378","name":"Night mode on?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.night_mode","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":120,"y":200,"wires":[["21caa85f.22dd68"],[]]},{"id":"b6acfce6.394f","type":"api-call-service","z":"8fb537a8.828378","name":"Turn Them Off","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"{{payload.entity_id}}","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":580,"y":200,"wires":[["30653e15.95b972"]]},{"id":"30653e15.95b972","type":"api-call-service","z":"8fb537a8.828378","name":"Night mode green","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.night_mode_green","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":790,"y":200,"wires":[[]]},{"id":"ab3e2c53.e3491","type":"server","name":"AvilaSmartHomeRpi","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

```

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [6 January 2021 14:47 UTC](https://discourse.nodered.org/t/getting-past-get-entities-node-with-no-results/38632/2 "2021-01-06T14:47:28Z")

</div>

These are non standard nodes, normally installed with HA version of node-red. You will probably get a faster answer here

> **[Node-RED](https://community.home-assistant.io/c/third-party/node-red)**
>
> The place for Node-RED integrations.

---

<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:** [7 March 2021 14:47 UTC](https://discourse.nodered.org/t/getting-past-get-entities-node-with-no-results/38632/3 "2021-03-07T14:47:32Z")

</div>

Closed on 7 March 2021 14:47 UTC

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