[Solved] Checking current state without passing that state on

Is it possible to check a current state of a node without passing that on as the payload? I’m trying to set up a motion sensor event state node as the trigger and have it check the current state of the TV (TV must be off) before continuing. The problem is I need both the on and off from the motion sensor to pass through to flow as they happen but the current state node keep passing its current state. I’d like the current state node just to act as a check and not pass that data on.

[{"id":"a672553e.2455c8","type":"server-state-changed","z":"2830869c.46727a","name":"Motion","server":"e8627faa.c1d02","version":1,"entityidfilter":"binary_sensor.great_room_motion","entityidfiltertype":"substring","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":false,"x":70,"y":2080,"wires":[["cf9ecdb0.80edd"]]},{"id":"7a04ed8a.a8cd14","type":"api-call-service","z":"2830869c.46727a","name":"ON","server":"e8627faa.c1d02","version":1,"service_domain":"light","service":"turn_on","entityId":"light.foyer_light","data":"","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":970,"y":2060,"wires":[[]]},{"id":"32cf9924.7114ae","type":"switch","z":"2830869c.46727a","name":"on/off?","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":540,"y":2080,"wires":[["1e66f7a3.7680a","80207e2a.1cc05"],["1e66f7a3.7680a"]]},{"id":"7cc06474.7570e4","type":"api-call-service","z":"2830869c.46727a","name":"OFF","server":"e8627faa.c1d02","version":1,"service_domain":"light","service":"turn_off","entityId":"light.foyer_light","data":"","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":970,"y":2120,"wires":[[]]},{"id":"1e66f7a3.7680a","type":"stoptimer","z":"2830869c.46727a","duration":"10","units":"Second","payloadtype":"num","payloadval":"0","name":"","x":810,"y":2120,"wires":[["7cc06474.7570e4"],[]]},{"id":"80207e2a.1cc05","type":"api-current-state","z":"2830869c.46727a","name":"Already on?","server":"e8627faa.c1d02","version":1,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.back_patio_light","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":790,"y":2060,"wires":[["7a04ed8a.a8cd14"],[]]},{"id":"c1aefd5b.8573d","type":"time-range-switch","z":"2830869c.46727a","name":"Timer","lat":"41.51528","lon":"-83.68148","startTime":"21:00","endTime":"05:00","startOffset":0,"endOffset":0,"x":370,"y":2080,"wires":[["32cf9924.7114ae"],[]]},{"id":"cf9ecdb0.80edd","type":"api-current-state","z":"2830869c.46727a","name":"TV off","server":"e8627faa.c1d02","version":1,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is","override_topic":true,"entity_id":"media_player.panasonic_viera_tv","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":230,"y":2080,"wires":[["c1aefd5b.8573d"],[]]},{"id":"e8627faa.c1d02","type":"server","z":"","name":"HA Fahrer","legacy":false,"hassio":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]

Assuming it’s just the payload you don’t want overwritten, you can choose to put the state location in a different place - there’s a ‘state location’ property in the edit dialog for the Current State node. I don’t have HA/NR with me now, so I can’t confirm that will work.

Thanks thats what I needed