zachcheatham / ha-omada

Home Assistant TP-Link Omada Integration
186 stars 26 forks source link

Settings throw error on deleted SSID #74

Closed sbluhm closed 11 months ago

sbluhm commented 1 year ago

Error message: User input malformed: <SSID> is not valid option for dictionary value @data['ssid_filter']

How to reproduce: On Omada, set up multiple SSIDs. Set up the integration On Omada, delete an SSID (or the primary SSID?) Restart the integration Go back to the integration and try to reconfigure it. Click on "Next" at the SSID selection page.

Expectation: Next page shows up.

Actual: Error message above appears (replace with the name of the deleted SSID)

Workaround: Go back to Omada and recreate the SSID reload the integration Now you can remove the SSID on the integration config screen Go back to Omada and delete the SSID again. Reload integration

zachcheatham commented 1 year ago

Good find. I'll get a fix in next release for this scenario.