Classes | |
| class | HomeworksConfigFlowHandler |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| CONF_LED | |
| CONF_RATE | |
| CONF_RELEASE_DELAY | |
| dictionary | CONTROLLER_EDIT |
| DATA_SCHEMA_ADD_BUTTON | |
| DATA_SCHEMA_ADD_CONTROLLER | |
| DATA_SCHEMA_ADD_KEYPAD | |
| DATA_SCHEMA_ADD_LIGHT | |
| DATA_SCHEMA_EDIT_BUTTON = vol.Schema(BUTTON_EDIT) | |
| DATA_SCHEMA_EDIT_CONTROLLER = vol.Schema(CONTROLLER_EDIT) | |
| DATA_SCHEMA_EDIT_LIGHT = vol.Schema(LIGHT_EDIT) | |
| default | |
| float | DEFAULT_FADE_RATE = 1.0 |
| dictionary | OPTIONS_FLOW |
| validate_addr = cv.matches_regex(r"\[(?:\d\d:){2,4}\d\d\]") | |
| VolDictType | |
Lutron Homeworks Series 4 and 8 config flow.
|
private |
Try connecting to the controller.
Definition at line 139 of file config_flow.py.
|
private |
Validate address.
Definition at line 179 of file config_flow.py.
|
private |
Validate button number.
Definition at line 194 of file config_flow.py.
|
private |
Validate credentials.
Definition at line 107 of file config_flow.py.
| dict[str, Any] homeassistant.components.homeworks.config_flow.get_edit_button_suggested_values | ( | SchemaCommonFlowHandler | handler | ) |
Return suggested values for button editing.
Definition at line 306 of file config_flow.py.
| dict[str, Any] homeassistant.components.homeworks.config_flow.get_edit_light_suggested_values | ( | SchemaCommonFlowHandler | handler | ) |
Return suggested values for light editing.
Definition at line 315 of file config_flow.py.
| vol.Schema homeassistant.components.homeworks.config_flow.get_remove_button_schema | ( | SchemaCommonFlowHandler | handler | ) |
Return schema for button removal.
Definition at line 347 of file config_flow.py.
| vol.Schema homeassistant.components.homeworks.config_flow.get_remove_keypad_light_schema | ( | SchemaCommonFlowHandler | handler, |
| *str | key | ||
| ) |
Return schema for keypad or light removal.
Definition at line 363 of file config_flow.py.
| vol.Schema homeassistant.components.homeworks.config_flow.get_select_button_schema | ( | SchemaCommonFlowHandler | handler | ) |
Return schema for selecting a button.
Definition at line 245 of file config_flow.py.
| vol.Schema homeassistant.components.homeworks.config_flow.get_select_keypad_schema | ( | SchemaCommonFlowHandler | handler | ) |
Return schema for selecting a keypad.
Definition at line 262 of file config_flow.py.
| vol.Schema homeassistant.components.homeworks.config_flow.get_select_light_schema | ( | SchemaCommonFlowHandler | handler | ) |
Return schema for selecting a light.
Definition at line 276 of file config_flow.py.
| dict[str, Any] homeassistant.components.homeworks.config_flow.validate_add_button | ( | SchemaCommonFlowHandler | handler, |
| dict[str, Any] | user_input | ||
| ) |
Validate button input.
Definition at line 204 of file config_flow.py.
| dict[str, Any] homeassistant.components.homeworks.config_flow.validate_add_controller | ( | ConfigFlow | SchemaOptionsFlowHandler | handler, |
| dict[str, Any] | user_input | ||
| ) |
Validate controller setup.
Definition at line 113 of file config_flow.py.
| dict[str, Any] homeassistant.components.homeworks.config_flow.validate_add_keypad | ( | SchemaCommonFlowHandler | handler, |
| dict[str, Any] | user_input | ||
| ) |
Validate keypad or light input.
Definition at line 219 of file config_flow.py.
| dict[str, Any] homeassistant.components.homeworks.config_flow.validate_add_light | ( | SchemaCommonFlowHandler | handler, |
| dict[str, Any] | user_input | ||
| ) |
Validate light input.
Definition at line 232 of file config_flow.py.
| dict[str, Any] homeassistant.components.homeworks.config_flow.validate_button_edit | ( | SchemaCommonFlowHandler | handler, |
| dict[str, Any] | user_input | ||
| ) |
Update edited keypad or light.
Definition at line 323 of file config_flow.py.
| dict[str, Any] homeassistant.components.homeworks.config_flow.validate_light_edit | ( | SchemaCommonFlowHandler | handler, |
| dict[str, Any] | user_input | ||
| ) |
Update edited keypad or light.
Definition at line 336 of file config_flow.py.
| dict[str, Any] homeassistant.components.homeworks.config_flow.validate_remove_button | ( | SchemaCommonFlowHandler | handler, |
| dict[str, Any] | user_input | ||
| ) |
Validate remove keypad or light.
Definition at line 379 of file config_flow.py.
| dict[str, Any] homeassistant.components.homeworks.config_flow.validate_remove_keypad_light | ( | SchemaCommonFlowHandler | handler, |
| dict[str, Any] | user_input, | ||
| *str | key | ||
| ) |
Validate remove keypad or light.
Definition at line 411 of file config_flow.py.
| dict[str, Any] homeassistant.components.homeworks.config_flow.validate_select_button | ( | SchemaCommonFlowHandler | handler, |
| dict[str, Any] | user_input | ||
| ) |
Store button index in flow state.
Definition at line 290 of file config_flow.py.
| dict[str, Any] homeassistant.components.homeworks.config_flow.validate_select_keypad_light | ( | SchemaCommonFlowHandler | handler, |
| dict[str, Any] | user_input | ||
| ) |
Store keypad or light index in flow state.
Definition at line 298 of file config_flow.py.
|
private |
Definition at line 60 of file config_flow.py.
| homeassistant.components.homeworks.config_flow.CONF_LED |
Definition at line 91 of file config_flow.py.
| homeassistant.components.homeworks.config_flow.CONF_RATE |
Definition at line 80 of file config_flow.py.
| homeassistant.components.homeworks.config_flow.CONF_RELEASE_DELAY |
Definition at line 92 of file config_flow.py.
| dictionary homeassistant.components.homeworks.config_flow.CONTROLLER_EDIT |
Definition at line 64 of file config_flow.py.
| homeassistant.components.homeworks.config_flow.DATA_SCHEMA_ADD_BUTTON |
Definition at line 461 of file config_flow.py.
| homeassistant.components.homeworks.config_flow.DATA_SCHEMA_ADD_CONTROLLER |
Definition at line 439 of file config_flow.py.
| homeassistant.components.homeworks.config_flow.DATA_SCHEMA_ADD_KEYPAD |
Definition at line 455 of file config_flow.py.
| homeassistant.components.homeworks.config_flow.DATA_SCHEMA_ADD_LIGHT |
Definition at line 448 of file config_flow.py.
| homeassistant.components.homeworks.config_flow.DATA_SCHEMA_EDIT_BUTTON = vol.Schema(BUTTON_EDIT) |
Definition at line 475 of file config_flow.py.
| homeassistant.components.homeworks.config_flow.DATA_SCHEMA_EDIT_CONTROLLER = vol.Schema(CONTROLLER_EDIT) |
Definition at line 447 of file config_flow.py.
| homeassistant.components.homeworks.config_flow.DATA_SCHEMA_EDIT_LIGHT = vol.Schema(LIGHT_EDIT) |
Definition at line 476 of file config_flow.py.
| homeassistant.components.homeworks.config_flow.default |
Definition at line 80 of file config_flow.py.
| float homeassistant.components.homeworks.config_flow.DEFAULT_FADE_RATE = 1.0 |
Definition at line 62 of file config_flow.py.
| dictionary homeassistant.components.homeworks.config_flow.OPTIONS_FLOW |
Definition at line 478 of file config_flow.py.
| homeassistant.components.homeworks.config_flow.validate_addr = cv.matches_regex(r"\[(?:\d\d:){2,4}\d\d\]") |
Definition at line 104 of file config_flow.py.
| homeassistant.components.homeworks.config_flow.VolDictType |
Definition at line 79 of file config_flow.py.