Skip to content

Commit 8c44776

Browse files
committed
Fix hassfest warning
1 parent 1383d03 commit 8c44776

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

custom_components/google_maps/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
from homeassistant.config_entries import ConfigEntry
1010
from homeassistant.const import CONF_USERNAME, EVENT_HOMEASSISTANT_STOP, Platform
1111
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+
)
1317
from homeassistant.helpers.typing import ConfigType
1418

1519
from .const import CONF_COOKIES_FILE, CONF_CREATE_ACCT_ENTITY, DOMAIN, NAME_PREFIX
@@ -19,6 +23,8 @@
1923
_LOGGER = logging.getLogger(__name__)
2024
_PLATFORMS = [Platform.BINARY_SENSOR, Platform.DEVICE_TRACKER]
2125

26+
CONFIG_SCHEMA = cv.platform_only_config_schema(DOMAIN)
27+
2228

2329
async def async_setup(hass: HomeAssistant, _: ConfigType) -> bool:
2430
"""Set up integration."""

0 commit comments

Comments
 (0)