diff --git a/custom_components/oref_alert/config_flow.py b/custom_components/oref_alert/config_flow.py index cd5f5db..57f5d21 100644 --- a/custom_components/oref_alert/config_flow.py +++ b/custom_components/oref_alert/config_flow.py @@ -3,20 +3,18 @@ from __future__ import annotations import contextlib -from typing import Any +from typing import TYPE_CHECKING, Any import homeassistant.helpers.config_validation as cv import voluptuous as vol -from homeassistant.config_entries import ( - ConfigEntry, - ConfigFlow, - ConfigFlowResult, - OptionsFlow, -) +from homeassistant.config_entries import ConfigEntry, ConfigFlow, OptionsFlow from homeassistant.core import async_get_hass, callback from homeassistant.exceptions import HomeAssistantError from homeassistant.helpers import selector +if TYPE_CHECKING: + from homeassistant.config_entries import ConfigFlowResult + from .const import ( CONF_ALERT_ACTIVE_DURATION, CONF_AREAS, diff --git a/hacs.json b/hacs.json index d68532a..6c297bb 100644 --- a/hacs.json +++ b/hacs.json @@ -5,7 +5,7 @@ "IL" ], "hide_default_branch": true, - "homeassistant": "2024.4.0", + "homeassistant": "2023.1.0", "render_readme": true, "zip_release": true } \ No newline at end of file