mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Fix typo in conf[CONF_SSL] (#35946)
This commit is contained in:
parent
8d5cf1a72c
commit
7035a6da9f
@ -40,7 +40,7 @@ def setup(hass, config):
|
|||||||
"""Set up the Zabbix component."""
|
"""Set up the Zabbix component."""
|
||||||
|
|
||||||
conf = config[DOMAIN]
|
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])
|
url = urljoin(f"{protocol}://{conf[CONF_HOST]}", conf[CONF_PATH])
|
||||||
username = conf.get(CONF_USERNAME)
|
username = conf.get(CONF_USERNAME)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user