mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Add autocomplete to text selector (#81060)
This commit is contained in:
parent
435fc23737
commit
c940ad9920
@ -869,6 +869,7 @@ class TextSelectorConfig(TypedDict, total=False):
|
||||
multiline: bool
|
||||
suffix: str
|
||||
type: TextSelectorType
|
||||
autocomplete: str
|
||||
|
||||
|
||||
class TextSelectorType(StrEnum):
|
||||
@ -904,6 +905,7 @@ class TextSelector(Selector):
|
||||
vol.Optional("type"): vol.All(
|
||||
vol.Coerce(TextSelectorType), lambda val: val.value
|
||||
),
|
||||
vol.Optional("autocomplete"): str,
|
||||
}
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user