For everyone who finds the original instructions not working, here is how to connect to your WiFi AP via CLI in HAOS.
network update wlan0 --wifi-ssid "YOUR SSID" --wifi-psk "YOUR PSK" --wifi-mode infrastructure --wifi-auth wpa-psk --ipv4-method auto
Replace wlan0 with other interface ID where required.