diff --git a/custom_components/ha_text_ai/config_flow.py b/custom_components/ha_text_ai/config_flow.py index 9046c4f..d23d0e6 100644 --- a/custom_components/ha_text_ai/config_flow.py +++ b/custom_components/ha_text_ai/config_flow.py @@ -53,7 +53,7 @@ STEP_USER_DATA_SCHEMA = vol.Schema({ ), vol.Optional(CONF_API_ENDPOINT, default=DEFAULT_API_ENDPOINT): vol.All( str, - vol.URL(), + vol.Url(), # Заменено с URL на Url msg="Must be a valid URL" ), vol.Optional( diff --git a/custom_components/ha_text_ai/manifest.json b/custom_components/ha_text_ai/manifest.json index 2f324d4..4dd3841 100644 --- a/custom_components/ha_text_ai/manifest.json +++ b/custom_components/ha_text_ai/manifest.json @@ -9,6 +9,6 @@ "issue_tracker": "https://github.com/smkrv/ha-text-ai/issues", "requirements": ["openai>=1.0.0"], "ssdp": [], - "version": "1.0.4", + "version": "1.0.5", "zeroconf": [] } diff --git a/ha_text_ai.zip b/ha_text_ai.zip index b6f5593..965c94c 100644 Binary files a/ha_text_ai.zip and b/ha_text_ai.zip differ diff --git a/hacs.json b/hacs.json index 348d60b..4a486f4 100644 --- a/hacs.json +++ b/hacs.json @@ -4,6 +4,6 @@ "domains": ["sensor"], "homeassistant": "2024.11.0", "icon": "mdi:brain", - "version": "1.0.4", + "version": "1.0.5", "documentation": "https://github.com/smkrv/ha-text-ai" }