1
mirror of https://github.com/home-assistant/core synced 2024-10-01 05:30:36 +02:00

Search: Add search to default config and don't resolve area (#30762)

* Add search to default config and don't resolve area

* Move to frontend

* Minor update

Co-authored-by: Jason Hu <awarecan@users.noreply.github.com>
This commit is contained in:
Bram Kragten 2020-01-15 03:36:21 +01:00 committed by Paulus Schoutsen
parent 8093da6a0c
commit 8af946fba5
2 changed files with 5 additions and 8 deletions

View File

@ -2,20 +2,17 @@
"domain": "frontend", "domain": "frontend",
"name": "Home Assistant Frontend", "name": "Home Assistant Frontend",
"documentation": "https://www.home-assistant.io/integrations/frontend", "documentation": "https://www.home-assistant.io/integrations/frontend",
"requirements": [ "requirements": ["home-assistant-frontend==20200108.0"],
"home-assistant-frontend==20200108.0"
],
"dependencies": [ "dependencies": [
"api", "api",
"auth", "auth",
"http", "http",
"lovelace", "lovelace",
"onboarding", "onboarding",
"search",
"system_log", "system_log",
"websocket_api" "websocket_api"
], ],
"codeowners": [ "codeowners": ["@home-assistant/frontend"],
"@home-assistant/frontend"
],
"quality_scale": "internal" "quality_scale": "internal"
} }

View File

@ -58,7 +58,7 @@ class Searcher:
""" """
# These types won't be further explored. Config entries + Output types. # These types won't be further explored. Config entries + Output types.
DONT_RESOLVE = {"scene", "automation", "script", "group", "config_entry"} DONT_RESOLVE = {"scene", "automation", "script", "group", "config_entry", "area"}
def __init__( def __init__(
self, self,