Skip to content

Commit

Permalink
Add missing CONFIG_SCHEMA
Browse files Browse the repository at this point in the history
  • Loading branch information
wbyoung committed Sep 16, 2024
1 parent ff51a3b commit 9f26347
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/watersmart/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME, Platform
from homeassistant.core import HomeAssistant
from homeassistant.helpers.aiohttp_client import async_get_clientsession
from homeassistant.helpers import config_validation as cv
from homeassistant.helpers.typing import ConfigType

from .client import WaterSmartClient
Expand All @@ -14,6 +15,7 @@
from .types import WaterSmartConfigEntry, WaterSmartData

PLATFORMS: list[Platform] = [Platform.SENSOR]
CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)


async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
Expand Down

0 comments on commit 9f26347

Please sign in to comment.