From 7b1cbeaf80ec3f9f9e7fb9e7bba68e6e02cb9fa9 Mon Sep 17 00:00:00 2001 From: Nikolay Vasilchuk Date: Tue, 16 Apr 2019 21:55:12 +0300 Subject: [PATCH] Fix verify_ssl configuration (#23146) Fix verify_ssl configuration --- homeassistant/components/telegram_bot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/telegram_bot/__init__.py b/homeassistant/components/telegram_bot/__init__.py index 66f074273ef..fe582867bce 100644 --- a/homeassistant/components/telegram_bot/__init__.py +++ b/homeassistant/components/telegram_bot/__init__.py @@ -194,7 +194,7 @@ def load_data(hass, url=None, filepath=None, username=None, password=None, params["auth"] = HTTPDigestAuth(username, password) else: params["auth"] = HTTPBasicAuth(username, password) - if verify_ssl: + if verify_ssl is not None: params["verify"] = verify_ssl retry_num = 0 while retry_num < num_retries: