diff --git a/custom_components/teslafi/__init__.py b/custom_components/teslafi/__init__.py index 03d4655..363b873 100644 --- a/custom_components/teslafi/__init__.py +++ b/custom_components/teslafi/__init__.py @@ -2,8 +2,6 @@ from __future__ import annotations -import voluptuous as vol - from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_API_KEY, Platform from homeassistant.core import HomeAssistant @@ -32,15 +30,7 @@ Platform.UPDATE, ] -CONFIG_SCHEMA = vol.Schema( - { - DOMAIN: vol.Schema( - { - vol.Required(CONF_API_KEY): cv.string, - } - ) - } -) +CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN) async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: diff --git a/custom_components/teslafi/manifest.json b/custom_components/teslafi/manifest.json index 8b79f63..a214653 100644 --- a/custom_components/teslafi/manifest.json +++ b/custom_components/teslafi/manifest.json @@ -14,6 +14,6 @@ ], "requirements": [], "ssdp": [], - "version": "2.10", + "version": "2.10.1", "zeroconf": [] }