MarkGodwin / tplink-omada-api

MIT License
12 stars 9 forks source link

Dynamically modify ssl_verify #40

Open lukshan13 opened 3 months ago

lukshan13 commented 3 months ago

Running on homeassistant with the omada integration, it appears my existing integration stopped working with an SSL verify error. Looks like home-assistant upgraded a newer version of python.

My fix - Implement a feature for the tplink-omada-api package to allow for dynamic modification of the SSL_verify flag, then allow the user to call that method from homeassistant.

MarkGodwin commented 3 months ago

There was a bug where if you entered an IP address instead of a hostname, then the verify_ssl flag was ignored in the HA integration. This was fixed a few weeks ago. Is that the problem you're seeing?