Classes | |
| class | CannotConnect |
| class | NotSupported |
| class | PrusaLinkConfigFlow |
Functions | |
| None | ensure_printer_is_supported (VersionInfo version) |
| dict[str, str] | validate_input (HomeAssistant hass, dict[str, str] data) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| STEP_USER_DATA_SCHEMA | |
Config flow for PrusaLink integration.
| None homeassistant.components.prusalink.config_flow.ensure_printer_is_supported | ( | VersionInfo | version | ) |
Raise NotSupported exception if the printer is not supported.
Definition at line 37 of file config_flow.py.
| dict[str, str] homeassistant.components.prusalink.config_flow.validate_input | ( | HomeAssistant | hass, |
| dict[str, str] | data | ||
| ) |
Validate the user input allows us to connect. Data has the keys from STEP_USER_DATA_SCHEMA with values provided by the user.
Definition at line 57 of file config_flow.py.
|
private |
Definition at line 23 of file config_flow.py.
| homeassistant.components.prusalink.config_flow.STEP_USER_DATA_SCHEMA |
Definition at line 26 of file config_flow.py.