Functions | |
| def | _find_likely_port (ports) |
| def | build_device_override_schema (address=vol.UNDEFINED, cat=vol.UNDEFINED, subcat=vol.UNDEFINED, firmware=vol.UNDEFINED) |
| def | build_hub_schema (hub_version, host=vol.UNDEFINED, port=vol.UNDEFINED, username=vol.UNDEFINED, password=vol.UNDEFINED) |
| def | build_plm_manual_schema (device=vol.UNDEFINED) |
| def | build_plm_schema (dict[str, str] ports, device=vol.UNDEFINED) |
| def | build_x10_schema (housecode=vol.UNDEFINED, unitcode=vol.UNDEFINED, platform=vol.UNDEFINED, dim_steps=22) |
Variables | |
| ADD_ALL_LINK_SCHEMA | |
| ADD_DEFAULT_LINKS_SCHEMA = vol.Schema({vol.Required(CONF_ENTITY_ID): cv.entity_id}) | |
| DEL_ALL_LINK_SCHEMA | |
| LOAD_ALDB_SCHEMA | |
| PRINT_ALDB_SCHEMA = vol.Schema({vol.Required(CONF_ENTITY_ID): cv.entity_id}) | |
| TRIGGER_SCENE_SCHEMA | |
| X10_HOUSECODE_SCHEMA = vol.Schema({vol.Required(SRV_HOUSECODE): vol.In(HOUSECODES)}) | |
Schemas used by insteon component.
|
private |
Return the most likely USB port for a PLM.
Definition at line 112 of file schemas.py.
| def homeassistant.components.insteon.schemas.build_device_override_schema | ( | address = vol.UNDEFINED, |
|
cat = vol.UNDEFINED, |
|||
subcat = vol.UNDEFINED, |
|||
firmware = vol.UNDEFINED |
|||
| ) |
Build the device override schema for config flow.
Definition at line 75 of file schemas.py.
| def homeassistant.components.insteon.schemas.build_hub_schema | ( | hub_version, | |
host = vol.UNDEFINED, |
|||
port = vol.UNDEFINED, |
|||
username = vol.UNDEFINED, |
|||
password = vol.UNDEFINED |
|||
| ) |
Build the Hub schema for config flow.
Definition at line 134 of file schemas.py.
| def homeassistant.components.insteon.schemas.build_plm_manual_schema | ( | device = vol.UNDEFINED | ) |
Build the manual PLM schema for config flow.
Definition at line 129 of file schemas.py.
| def homeassistant.components.insteon.schemas.build_plm_schema | ( | dict[str, str] | ports, |
device = vol.UNDEFINED |
|||
| ) |
Build the PLM schema for config flow.
Definition at line 122 of file schemas.py.
| def homeassistant.components.insteon.schemas.build_x10_schema | ( | housecode = vol.UNDEFINED, |
|
unitcode = vol.UNDEFINED, |
|||
platform = vol.UNDEFINED, |
|||
dim_steps = 22 |
|||
| ) |
Build the X10 schema for config flow.
Definition at line 91 of file schemas.py.
| homeassistant.components.insteon.schemas.ADD_ALL_LINK_SCHEMA |
Definition at line 40 of file schemas.py.
| homeassistant.components.insteon.schemas.ADD_DEFAULT_LINKS_SCHEMA = vol.Schema({vol.Required(CONF_ENTITY_ID): cv.entity_id}) |
Definition at line 72 of file schemas.py.
| homeassistant.components.insteon.schemas.DEL_ALL_LINK_SCHEMA |
Definition at line 48 of file schemas.py.
| homeassistant.components.insteon.schemas.LOAD_ALDB_SCHEMA |
Definition at line 53 of file schemas.py.
| homeassistant.components.insteon.schemas.PRINT_ALDB_SCHEMA = vol.Schema({vol.Required(CONF_ENTITY_ID): cv.entity_id}) |
Definition at line 61 of file schemas.py.
| homeassistant.components.insteon.schemas.TRIGGER_SCENE_SCHEMA |
Definition at line 67 of file schemas.py.
| homeassistant.components.insteon.schemas.X10_HOUSECODE_SCHEMA = vol.Schema({vol.Required(SRV_HOUSECODE): vol.In(HOUSECODES)}) |
Definition at line 64 of file schemas.py.