1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-23 04:19:34 +00:00

Drop white blacklist pt1 (#37816)

This commit is contained in:
Paulus Schoutsen
2020-07-13 08:43:11 -07:00
committed by GitHub
parent ccbc3b5e39
commit 8ed1a29c82
21 changed files with 73 additions and 50 deletions

View File

@@ -234,6 +234,10 @@ async def test_get_config(hass, websocket_client):
msg["result"]["whitelist_external_dirs"] = set(
msg["result"]["whitelist_external_dirs"]
)
if "allowlist_external_dirs" in msg["result"]:
msg["result"]["allowlist_external_dirs"] = set(
msg["result"]["allowlist_external_dirs"]
)
if "allowlist_external_urls" in msg["result"]:
msg["result"]["allowlist_external_urls"] = set(
msg["result"]["allowlist_external_urls"]