From 7035a6da9fb40f9a0233bb6b35bdf61b74c8d5b7 Mon Sep 17 00:00:00 2001 From: Hugues Granger Date: Fri, 22 May 2020 13:08:53 +0200 Subject: [PATCH] Fix typo in conf[CONF_SSL] (#35946) --- homeassistant/components/zabbix/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/zabbix/__init__.py b/homeassistant/components/zabbix/__init__.py index 644d35da728..a1b4327470f 100644 --- a/homeassistant/components/zabbix/__init__.py +++ b/homeassistant/components/zabbix/__init__.py @@ -40,7 +40,7 @@ def setup(hass, config): """Set up the Zabbix component.""" conf = config[DOMAIN] - protocol = "https" if config[CONF_SSL] else "http" + protocol = "https" if conf[CONF_SSL] else "http" url = urljoin(f"{protocol}://{conf[CONF_HOST]}", conf[CONF_PATH]) username = conf.get(CONF_USERNAME)