Node-RED variable entity

Hello,
I am new with Node-RED and I want to accomplish the following.
I am using a GET request and I would like to pass the entity through and would like to retrieve the state of it. But how do I pass the variable entity to Node RED?
I already tried the following, but it doesn’t work. Also without the accolades.
image
How can I get this to work?

Show us the debug message before this node.

I already got it to work by using a flow variable using the change node!