Skip to content

Commit

Permalink
Define CONFIG_SCHEMA
Browse files Browse the repository at this point in the history
this fixes a hassfest validation warning
  • Loading branch information
flabbamann committed Oct 18, 2023
1 parent 86ba264 commit aca7b27
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions custom_components/aha_region/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
"""aha custom component."""

from homeassistant import core
import homeassistant.helpers.config_validation as cv

from .const import DOMAIN

CONFIG_SCHEMA = cv.platform_only_config_schema(DOMAIN)


async def async_setup(hass: core.HomeAssistant, config: dict) -> bool:
Expand Down

0 comments on commit aca7b27

Please sign in to comment.