Selector for an entity state.
Definition at line 1213 of file selector.py.
◆ __init__()
| None homeassistant.helpers.selector.StateSelector.__init__ |
( |
|
self, |
|
|
StateSelectorConfig |
config |
|
) |
| |
◆ __call__()
| str homeassistant.helpers.selector.StateSelector.__call__ |
( |
|
self, |
|
|
Any |
data |
|
) |
| |
Validate the passed selection.
Definition at line 1233 of file selector.py.
◆ CONFIG_SCHEMA
| homeassistant.helpers.selector.StateSelector.CONFIG_SCHEMA |
|
static |
Initial value:= vol.Schema(
{
vol.Required("entity_id"): cv.entity_id,
}
)
Definition at line 1218 of file selector.py.
◆ selector_type
| string homeassistant.helpers.selector.StateSelector.selector_type = "state" |
|
static |
The documentation for this class was generated from the following file: