meichthys / uptime_kuma

Uptime Kuma HACS integration
105 stars 24 forks source link

warning verify ssl is deprecated on HA #84

Open pilot1981 opened 9 months ago

pilot1981 commented 9 months ago

Hi, I use this addon on HA 2023.11.2, but I always have this entry in my logs:

Logger: py.warnings Source: custom_components/uptime_kuma/init.py:92 Integration: Uptime Kuma (documentation, issues) First occurred: 20 novembre 2023 alle ore 09:51:37 (2967 occurrences) Last logged: 09:55:45

/usr/local/lib/python3.11/site-packages/pyuptimekuma/decorator.py:30: DeprecationWarning: verify_ssl is deprecated, use ssl=False instead request = await client._session.request(

how I can't solve? I have to disable SSL verify in UPTIME KKUMA configuration? how? i can't find this option in HA ADDON!

regards

meichthys commented 9 months ago

Thank you for this. I was not aware that home assistant is deprecating the SSL verification option. For now I always recommend using an SSL certificate. These days it is very easy to get one using tools like nginx proxy manager.