Sonos Integration Fails with Python error on HAOS running on Pi4

I installed Home Assistant OS on Raspberry Pi4 last week.

OS Version: Home Assistant OS 14.2
Home Assistant Core: 2025.2.1

I’m trying to add integration to my Sonos speakers. They were not auto-discovered. So I went into Settings/Integrations and did Add Integration. After clicking on Sonos, I’m getting error pop-up

Error: Config flow could not be loaded: {“message”:“invalid handler specified”}

And when I look into my system logs for more info I see this:

Logger: homeassistant.config_entries
Source config_entries.py:3308
“Error occurred loading flow for integration sonos: cannoot import name ‘parse’ from ‘xmltodict’ (/usr/local/lib/python3.13/site-packages/xmltodict.py)”

Any help is greatly appreciated. I’ve done fair amount of research and chatgpt, etc. but its mostly suggested I update HA (done) or start tweaking Python libraries. (which I think HAOS frowns upon as default Terminal doesn’t have access)

Just posting an update. This integration got resolved in Home Assistant Core release 2025.2.2. After upgrading, Sonos speakers were auto-discovered.