Getting past 'get_entities' node with No Results

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.

[{"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}]

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

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