diff --git a/custom_components/proxmoxve/__init__.py b/custom_components/proxmoxve/__init__.py index 2d89f2a..da37c4e 100644 --- a/custom_components/proxmoxve/__init__.py +++ b/custom_components/proxmoxve/__init__.py @@ -12,6 +12,8 @@ ) import voluptuous as vol +import warnings + from homeassistant.config_entries import SOURCE_IMPORT, ConfigEntry from homeassistant.const import ( CONF_HOST, @@ -33,6 +35,9 @@ ) from homeassistant.helpers.typing import ConfigType + +from urllib3.exceptions import InsecureRequestWarning + from .const import ( CONF_CONTAINERS, CONF_LXC, @@ -103,6 +108,8 @@ extra=vol.ALLOW_EXTRA, ) +warnings.filterwarnings("ignore", category=InsecureRequestWarning) + async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: """Set up the platform."""