Selector for an entity attribute.
Definition at line 306 of file selector.py.
◆ __init__()
◆ __call__()
| str homeassistant.helpers.selector.AttributeSelector.__call__ |
( |
|
self, |
|
|
Any |
data |
|
) |
| |
Validate the passed selection.
Definition at line 324 of file selector.py.
◆ CONFIG_SCHEMA
| homeassistant.helpers.selector.AttributeSelector.CONFIG_SCHEMA |
|
static |
Initial value:= vol.Schema(
{
vol.Required("entity_id"): cv.entity_id,
vol.Optional("hide_attributes"): [str],
}
)
Definition at line 311 of file selector.py.
◆ selector_type
| string homeassistant.helpers.selector.AttributeSelector.selector_type = "attribute" |
|
static |
The documentation for this class was generated from the following file: