QR code selector.
Definition at line 555 of file selector.py.
◆ __init__()
◆ __call__()
| Any homeassistant.helpers.selector.QrCodeSelector.__call__ |
( |
|
self, |
|
|
Any |
data |
|
) |
| |
Validate the passed selection.
Definition at line 574 of file selector.py.
◆ CONFIG_SCHEMA
| homeassistant.helpers.selector.QrCodeSelector.CONFIG_SCHEMA |
|
static |
Initial value:= vol.Schema(
{
vol.Required("data"): str,
vol.Optional("scale"): int,
vol.Optional("error_correction_level"): vol.All(
vol.Coerce(QrErrorCorrectionLevel), lambda val: val.value
),
}
)
Definition at line 560 of file selector.py.
◆ selector_type
| string homeassistant.helpers.selector.QrCodeSelector.selector_type = "qr_code" |
|
static |
The documentation for this class was generated from the following file: