File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
custom_components/google_maps Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 9
9
from homeassistant .config_entries import ConfigEntry
10
10
from homeassistant .const import CONF_USERNAME , EVENT_HOMEASSISTANT_STOP , Platform
11
11
from homeassistant .core import Event , HomeAssistant
12
- from homeassistant .helpers import device_registry as dr , entity_registry as er
12
+ from homeassistant .helpers import (
13
+ config_validation as cv ,
14
+ device_registry as dr ,
15
+ entity_registry as er ,
16
+ )
13
17
from homeassistant .helpers .typing import ConfigType
14
18
15
19
from .const import CONF_COOKIES_FILE , CONF_CREATE_ACCT_ENTITY , DOMAIN , NAME_PREFIX
19
23
_LOGGER = logging .getLogger (__name__ )
20
24
_PLATFORMS = [Platform .BINARY_SENSOR , Platform .DEVICE_TRACKER ]
21
25
26
+ CONFIG_SCHEMA = cv .platform_only_config_schema (DOMAIN )
27
+
22
28
23
29
async def async_setup (hass : HomeAssistant , _ : ConfigType ) -> bool :
24
30
"""Set up integration."""
You can’t perform that action at this time.
0 commit comments