Hello,
In the “wait until” node I would like to use information from the msg.payload. Basically I need the wait until to use a variable.
The flow is an simple example to explain what I want to do. In a function I create the msg.payload using a variable and then I call “wait until”. In my example the cover.window_bedroom exists. If I use cover.window_bedroom in entity_id it works. Whatever I use based on empty entity_id (it works for current state), msg.payload, msg.payload.entity_id it fails and I have to wait the timeout.
So my question, is can entity_id in wait until be a variable (or based on a variable)?
I am using hass.io and the Node-Red add-on.
Thanks for helping.
GV
[{"id":"3d6158.e8db3ea8","type":"ha-wait-until","z":"3bc37295.bad07e","name":"","server":"d28c9492.f419c8","outputs":2,"entityId":"msg.payload.entity_id","property":"attributes.current_position","comparator":"is","value":"0","valueType":"num","timeout":"5","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":false,"blockInputOverrides":true,"x":480,"y":480,"wires":[[],["56b488c5.3f09a8"]]},{"id":"d28c9492.f419c8","type":"server","z":"","name":"Home Assistant","legacy":false,"hassio":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]