It appears that after upgrade to Sonoma, WiFi identification stopped working - see attached (showing the current WiFi as false).
Sadly a known issue on Apples behalf, still to be resolved:
For more information, see the wiki Searching the Forum for Answers section.