mirror of
https://github.com/smkrv/ha-text-ai.git
synced 2026-07-29 08:53:56 +08:00
Release v2.0.0
This commit is contained in:
@@ -65,6 +65,10 @@ STEP_USER_DATA_SCHEMA = vol.Schema(
|
||||
vol.Optional(
|
||||
CONF_API_ENDPOINT,
|
||||
default=DEFAULT_API_ENDPOINT
|
||||
): vol.All(
|
||||
cv.string,
|
||||
vol.Match(r'^https?://.+', msg="Must be a valid HTTP(S) URL")
|
||||
),
|
||||
): cv.string,
|
||||
vol.Optional(
|
||||
CONF_REQUEST_INTERVAL,
|
||||
|
||||
Reference in New Issue
Block a user