Events:State Node, If State conditional using the current state change info

I know I can send the event data down flow and filter it or I can even store it as a global variable and recall it, but is there a way use current state_changed info as an If State conditional within an Events: State node to only allow it so it only fires under certain conditions (I do not want to use a trigger node because I need the old_state info from the event down flow)

I figured if it didn’t trigger in the first place, it would use less resources (maybe my assumption is wrong since either way the system needs to run the calculation); if anything it would be 1 less node down flow.

https://zachowj.github.io/node-red-contrib-home-assistant-websocket/guide/jsonata/#home-assistant-functions

$prevEntity().state

thanks. that guide is helpful.

You seem to be quite knowledgeable in HA Node red; while browsing these forums I’ve noticed you answer a good amount of questions. I have another one I can’t seem to find an answer to if you would be so kind: can you use a template list in a Events: State node for a dynamic entities list?
Such as some thing like?
image

Thank you in advanced

https://zachowj.github.io/node-red-contrib-home-assistant-websocket/cookbook/events-by-label.html

Thanks. I was actually more interested in using the template within the event_state node’s entity field; that particular label list was just an example of something I’d like to do. I’m guessing it not possible without other nodes?

That is correct.

Ok. That’s what i was gathering, I just thought I’d ask someone with more knowledge in case i missed something. Appreciate the info, thanks.