diff --git a/custom_components/intergas_local/__init__.py b/custom_components/intergas_local/__init__.py index b6e06f5..4de2734 100644 --- a/custom_components/intergas_local/__init__.py +++ b/custom_components/intergas_local/__init__.py @@ -5,12 +5,15 @@ from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant +from homeassistant.helpers import config_validation as cv from .const import DOMAIN, DEFAULT_SCAN_INTERVAL, build_resource_url from .coordinator import XtendDataUpdateCoordinator _LOGGER = logging.getLogger(__name__) +CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN) + async def async_setup(hass: HomeAssistant, config: dict) -> bool: hass.data.setdefault(DOMAIN, {}) diff --git a/custom_components/intergas_local/manifest.json b/custom_components/intergas_local/manifest.json index e4db27b..ddb04c4 100644 --- a/custom_components/intergas_local/manifest.json +++ b/custom_components/intergas_local/manifest.json @@ -1,12 +1,12 @@ { "domain": "intergas_local", "name": "Intergas Local", - "version": "1.0.0", + "codeowners": ["@webpatrick"], + "config_flow": true, + "dependencies": [], "documentation": "https://github.com/webpatrick/intergas_local", + "iot_class": "local_polling", "issue_tracker": "https://github.com/webpatrick/intergas_local/issues", "requirements": [], - "dependencies": [], - "codeowners": ["@webpatrick"], - "config_flow": true, - "iot_class": "local_polling" + "version": "1.0.0" } \ No newline at end of file