Selector of a file.
Definition at line 1435 of file selector.py.
◆ __init__()
| None homeassistant.helpers.selector.FileSelector.__init__ |
( |
|
self, |
|
|
FileSelectorConfig |
config |
|
) |
| |
◆ __call__()
| str homeassistant.helpers.selector.FileSelector.__call__ |
( |
|
self, |
|
|
Any |
data |
|
) |
| |
Validate the passed selection.
Definition at line 1451 of file selector.py.
◆ CONFIG_SCHEMA
| homeassistant.helpers.selector.FileSelector.CONFIG_SCHEMA |
|
static |
Initial value:= vol.Schema(
{
vol.Required("accept"): str,
}
)
Definition at line 1440 of file selector.py.
◆ selector_type
| string homeassistant.helpers.selector.FileSelector.selector_type = "file" |
|
static |
The documentation for this class was generated from the following file: