From b41df51f9c39449f36dffc4a5da590e4cc8ef6d1 Mon Sep 17 00:00:00 2001 From: SMKRV Date: Mon, 18 Nov 2024 11:46:08 +0300 Subject: [PATCH] Reset to current local state --- custom_components/ha_text_ai/config_flow.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/custom_components/ha_text_ai/config_flow.py b/custom_components/ha_text_ai/config_flow.py index e7535f7..97f63b0 100644 --- a/custom_components/ha_text_ai/config_flow.py +++ b/custom_components/ha_text_ai/config_flow.py @@ -1,6 +1,3 @@ - -#### `config_flow.py` -```python """Config flow for HA text AI integration.""" import voluptuous as vol from homeassistant import config_entries @@ -21,10 +18,11 @@ from .const import ( DEFAULT_REQUEST_INTERVAL, ) -class HATextAIConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): +class HATextAIConfigFlow(config_entries.ConfigFlow): """Handle a config flow for HA text AI.""" VERSION = 1 + DOMAIN = DOMAIN # Define the domain as a class variable async def async_step_user(self, user_input=None): """Handle the initial step."""