Fix typo in conf[CONF_SSL] (#35946)
This commit is contained in:
1 parent
8a9ba7e72d
commit
9401525464
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user