Assist: get entity state or value

Hi,

I’m trying to invoke HassGetState to retrieve current state or value, for example the state of entry door (closed/opened) or the value of temperature in a room.
None is working to get the state, control is working just fine.

Can you please advise?

Thanks!