finish06 / pyunifi

https://unifi-sdn.ubnt.com/
MIT License
223 stars 99 forks source link

InsecureRequestWarning spams log #60

Closed zissou1 closed 3 years ago

zissou1 commented 3 years ago

Hello! Maybe dumb question but is following necessary?:

if ssl_verify is False:
warnings.simplefilter("default", category=requests.packages.
urllib3.exceptions.
InsecureRequestWarning)

My Home Assistant core log is getting spammed by these warnings.

finish06 commented 3 years ago

What version of HomeAssistant are you using? This was replaced in HA by another project that is async and specifically maintained for HA.

zissou1 commented 3 years ago

Ahaa, ok! Sorry didnt know that. Im running the latest stable release so its definately replaced then..