Access Zoneminder config correctly (#34388)

* use correct conf. Always use .get

* remove .get
This commit is contained in:
John Arild Berentsen authored and GitHub committed 2020-04-19 01:00:23 -07:00
1 parent 966cb14a38
commit a6b407d706
1 file changed
+1 -1
@@ -58,7 +58,7 @@ def setup(hass, config):
success = True
for conf in config[DOMAIN]:
protocol = "https" if config[CONF_SSL] else "http"
protocol = "https" if conf[CONF_SSL] else "http"
host_name = conf[CONF_HOST]
server_origin = f"{protocol}://{host_name}"