From 24258bbadf68c4cae893036b8ea5fd06aaa6040f Mon Sep 17 00:00:00 2001 From: cyr-ius Date: Mon, 27 May 2024 19:16:35 +0200 Subject: [PATCH] Fix use tls --- custom_components/bbox/coordinator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/bbox/coordinator.py b/custom_components/bbox/coordinator.py index 89f54b9..3d22440 100644 --- a/custom_components/bbox/coordinator.py +++ b/custom_components/bbox/coordinator.py @@ -34,7 +34,7 @@ def __init__( password=entry.data[CONF_PASSWORD], hostname=entry.data[CONF_HOST], session=async_create_clientsession(self.hass), - use_tls=entry.data[CONF_USE_TLS], + use_tls=entry.data.get(CONF_USE_TLS, False), ) async def _async_update_data(self) -> dict[str, dict[str, Any]]: