Public Member Functions | |
| dict[str, list[str]] | __call__ (self, Any data) |
| None | __init__ (self, TargetSelectorConfig|None config=None) |
Static Public Attributes | |
| CONFIG_SCHEMA | |
| string | selector_type = "target" |
| TARGET_SELECTION_SCHEMA = vol.Schema(cv.TARGET_SERVICE_FIELDS) | |
Selector of a target value (area ID, device ID, entity ID etc). Value should follow cv.TARGET_SERVICE_FIELDS format.
Definition at line 1240 of file selector.py.
| None homeassistant.helpers.selector.TargetSelector.__init__ | ( | self, | |
| TargetSelectorConfig | None | config = None |
||
| ) |
Instantiate a selector.
Definition at line 1263 of file selector.py.
| dict[str, list[str]] homeassistant.helpers.selector.TargetSelector.__call__ | ( | self, | |
| Any | data | ||
| ) |
Validate the passed selection.
Definition at line 1267 of file selector.py.
|
static |
Definition at line 1248 of file selector.py.
|
static |
Definition at line 1246 of file selector.py.
|
static |
Definition at line 1261 of file selector.py.