Description
After a recent Home Assistant / integration update, my Home Assistant log is being flooded with urllib3 InsecureRequestWarning messages from local Tapo camera HTTPS requests.
The camera/control entities still appear to work, but the warning is logged repeatedly, apparently every polling cycle.
The warning comes from the py.warnings logger, not directly from custom_components.tapo_control, so setting the integration logger to error does not suppress it.
This looks like the integration or pytapo is connecting to the camera locally over HTTPS with certificate verification disabled, which is understandable because Tapo cameras appear to use self-signed / weak local certificates. However, if this is expected behavior, could the integration suppress this specific warning or provide an option to handle SSL verification cleanly?
Reproduction Steps
- Install / use
Tapo: Cameras Control.
- Add a local Tapo camera by IP.
- Let Home Assistant run normally.
- Observe the Home Assistant logs.
- The warning repeats many times.
In my case it is especially visible when the camera is managed by Home Assistant automations and sometimes powered off / privacy mode is toggled.
Expected behavior
The integration should not flood the Home Assistant log with InsecureRequestWarning every polling cycle if unverified HTTPS is expected for local Tapo camera communication.
Possible fixes/questions:
- Is there already an option to control SSL certificate verification?
- If verification is intentionally disabled, can
urllib3.exceptions.InsecureRequestWarning be suppressed inside the integration/pytapo for the camera requests?
- Could the integration expose a
verify_ssl option, similar to other Home Assistant integrations?
- Could this warning be logged once at startup/config-entry setup instead of repeatedly?
If applicable, add error logs.
Home Assistant logs many repeated warnings like this for both of my tapo cameras:
2026-05-30 23:16:27.831 WARNING (SyncWorker_31) [py.warnings] /usr/local/lib/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host '10.x.x.x'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
Device Firmware
1.5.3
Integration Version
7.1.14
Last known working integration version
??
Using stream component
No
Does camera work via official integrations?
Yes
HASS Environment
HAOS
Search for similar issues
Yes
Additional information
No response
Debug Logs (Required)
2026-05-30 23:16:27.831 WARNING (SyncWorker_31) [py.warnings] /usr/local/lib/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host '10.x.x.x'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
Description
After a recent Home Assistant / integration update, my Home Assistant log is being flooded with
urllib3InsecureRequestWarningmessages from local Tapo camera HTTPS requests.The camera/control entities still appear to work, but the warning is logged repeatedly, apparently every polling cycle.
The warning comes from the
py.warningslogger, not directly fromcustom_components.tapo_control, so setting the integration logger toerrordoes not suppress it.This looks like the integration or
pytapois connecting to the camera locally over HTTPS with certificate verification disabled, which is understandable because Tapo cameras appear to use self-signed / weak local certificates. However, if this is expected behavior, could the integration suppress this specific warning or provide an option to handle SSL verification cleanly?Reproduction Steps
Tapo: Cameras Control.In my case it is especially visible when the camera is managed by Home Assistant automations and sometimes powered off / privacy mode is toggled.
Expected behavior
The integration should not flood the Home Assistant log with
InsecureRequestWarningevery polling cycle if unverified HTTPS is expected for local Tapo camera communication.Possible fixes/questions:
urllib3.exceptions.InsecureRequestWarningbe suppressed inside the integration/pytapo for the camera requests?verify_ssloption, similar to other Home Assistant integrations?If applicable, add error logs.
Home Assistant logs many repeated warnings like this for both of my tapo cameras:
2026-05-30 23:16:27.831 WARNING (SyncWorker_31) [py.warnings] /usr/local/lib/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host '10.x.x.x'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
Device Firmware
1.5.3
Integration Version
7.1.14
Last known working integration version
??
Using stream component
No
Does camera work via official integrations?
Yes
HASS Environment
HAOS
Search for similar issues
Yes
Additional information
No response
Debug Logs (Required)
2026-05-30 23:16:27.831 WARNING (SyncWorker_31) [py.warnings] /usr/local/lib/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host '10.x.x.x'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings