In this example, I use the node to “wait until” my velux window is closed.
The information for the “wait until” is given by the change node.
Regarding the other question, and the Entity Location, not sure. Have you looked at the documentation from Kermit?
[{"id":"cc6c40f8.9d312","type":"ha-wait-until","z":"33b1225f.3b50ee","name":"Until","server":"d28c9492.f419c8","outputs":2,"entityId":"","entityIdFilterType":"exact","property":"","comparator":"gte","value":"99","valueType":"num","timeout":"60","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":false,"x":530,"y":1260,"wires":[["a56b07af.a59fd8"],[]]},{"id":"9c2fb9f.29d7748","type":"change","z":"33b1225f.3b50ee","name":"Wait","rules":[{"t":"set","p":"payload","pt":"msg","to":"{ \t \"entity_id\": \"cover.\" & $flowContext(\"couvre\") & \"_\" &$flowContext(\"piece\"),\t \"property\": \"attributes.current_position\"\t}","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":410,"y":1260,"wires":[["cc6c40f8.9d312"]]},{"id":"d28c9492.f419c8","type":"server","z":"","name":"hassio","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]
GV