mirror of
https://github.com/andvikt/mega_hacs.git
synced 2026-11-02 21:48:44 +05:00
- fix init of conf_http
This commit is contained in:
1 parent
4edc0dcb4f
commit
6bb897a26f
1 file changed
+1
-1
@@ -164,7 +164,7 @@ class MegaD:
|
||||
if allow_hosts is not None and DOMAIN in hass.data:
|
||||
allow_hosts = set(allow_hosts.split(";"))
|
||||
hass.data[DOMAIN][CONF_HTTP].allowed_hosts |= allow_hosts
|
||||
hass.data[DOMAIN][CONF_HTTP].protected = protected
|
||||
hass.data[DOMAIN][CONF_HTTP].protected = protected
|
||||
except Exception:
|
||||
self.lg.exception("while setting allowed hosts")
|
||||
self.binary_sensors = []
|
||||
|
||||
Reference in new issue
Block a user