Wait until node in nodered doesn't work anymore as expected

Could you provide your flow. The post you linked off to, they are not sending the entity variable the right way. It needs to be in the format

{
  "entities": ["light.living_room", "light.bedroom"]
}

https://zachowj.github.io/node-red-contrib-home-assistant-websocket/node/wait-until.html#full-payload

Edit : For a single entity use

{
  "entities": "light.living_room"
}
[{"id":"393cf2754fd83302","type":"ha-wait-until","z":"0a325c35fc29f44e","name":"","server":"","version":3,"outputs":2,"entities":{"entity":["{{payload}}"],"substring":[],"regex":[]},"property":"state","comparator":"is","value":"on","valueType":"str","timeout":"1","timeoutType":"num","timeoutUnits":"minutes","checkCurrentState":true,"blockInputOverrides":false,"outputProperties":[],"x":520,"y":4320,"wires":[["4acd45b38442a0a3"],[]]},{"id":"c72a95eb9ea49951","type":"inject","z":"0a325c35fc29f44e","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{   \"entities\": \"light.dj\" }","payloadType":"jsonata","x":290,"y":4320,"wires":[["393cf2754fd83302"]]},{"id":"4acd45b38442a0a3","type":"debug","z":"0a325c35fc29f44e","name":"debug 208","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":770,"y":4320,"wires":[]}]