I am trying to use the “wait until” node to wait until (!) my velux window is closed after having asked to do so.
I have a weird situation.
If I put the information (entity_id and property) IN the node it doesn’t work, like this:
[{"id":"740d6228.cdbeac","type":"ha-wait-until","z":"33b1225f.3b50ee","name":"Until","server":"d28c9492.f419c8","outputs":2,"entityId":"cover.fenetre_cuisine","entityIdFilterType":"exact","property":"attributes.current_position","comparator":"is","value":"0","valueType":"num","timeout":"60","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":false,"x":310,"y":760,"wires":[["3c6bfa6e.715e56"],[]]},{"id":"aea106fd.b17f68","type":"inject","z":"33b1225f.3b50ee","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":160,"y":760,"wires":[["740d6228.cdbeac"]]},{"id":"3c6bfa6e.715e56","type":"debug","z":"33b1225f.3b50ee","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":490,"y":760,"wires":[]},{"id":"d28c9492.f419c8","type":"server","z":"","name":"hassio","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]
whereas if I use a change node to setup the exact same information BEFORE the wait until node like this:
[{"id":"aec43b8d.e41018","type":"ha-wait-until","z":"33b1225f.3b50ee","name":"Until","server":"d28c9492.f419c8","outputs":2,"entityId":"","entityIdFilterType":"exact","property":"","comparator":"is","value":"0","valueType":"num","timeout":"60","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":false,"x":390,"y":680,"wires":[["3a7b45a2.39ea0a"],[]]},{"id":"3fd473cb.96b21c","type":"change","z":"33b1225f.3b50ee","name":"Wait","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"cover.fenetre_cuisine\",\"property\":\"attributes.current_position\"}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":270,"y":680,"wires":[["aec43b8d.e41018"]]},{"id":"a5960d19.c3402","type":"inject","z":"33b1225f.3b50ee","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":140,"y":680,"wires":[["3fd473cb.96b21c"]]},{"id":"3a7b45a2.39ea0a","type":"debug","z":"33b1225f.3b50ee","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":550,"y":680,"wires":[]},{"id":"d28c9492.f419c8","type":"server","z":"","name":"hassio","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]
it works perfectly well.
With the window closed (so current_position = 0), using the IN (first example) it timeouts (not good), using the BEFORE (second example) it is immediately true (good !).
Same thing when I launch the flow while the window is closing IN fails, BEFORE works.
I have tried with other entities in my setup (eg switch) exact same situation.
Am I missing something ?
Using HASSIO 107.7 with NODERED addon 6.1.4
GV