Skip to content

Commit 28d9024

Browse files
committed
config_schema
1 parent bfd43f9 commit 28d9024

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

custom_components/august_access_codes/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
SupportsResponse,
2222
)
2323
from homeassistant.exceptions import ServiceValidationError
24+
from homeassistant.helpers import config_validation as cv
2425
import homeassistant.helpers.device_registry as dr
2526
import homeassistant.helpers.entity_registry as er
2627
from homeassistant.helpers.typing import ConfigType
@@ -40,6 +41,9 @@
4041
_LOGGER = logging.getLogger(__name__)
4142

4243

44+
CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)
45+
46+
4347
async def async_setup(hass: HomeAssistant, config_type: ConfigType) -> bool:
4448
"""Setup services."""
4549

0 commit comments

Comments
 (0)