Classes | |
| class | RokuConfigFlow |
| class | RokuOptionsFlowHandler |
Functions | |
| dict[str, Any] | validate_input (HomeAssistant hass, dict[str, Any] data) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| DATA_SCHEMA = vol.Schema({vol.Required(CONF_HOST): str}) | |
| string | ERROR_CANNOT_CONNECT = "cannot_connect" |
| string | ERROR_UNKNOWN = "unknown" |
Config flow for Roku.
| dict[str, Any] homeassistant.components.roku.config_flow.validate_input | ( | HomeAssistant | hass, |
| dict[str, Any] | data | ||
| ) |
Validate the user input allows us to connect. Data has the keys from DATA_SCHEMA with values provided by the user.
Definition at line 33 of file config_flow.py.
|
private |
Definition at line 30 of file config_flow.py.
| homeassistant.components.roku.config_flow.DATA_SCHEMA = vol.Schema({vol.Required(CONF_HOST): str}) |
Definition at line 25 of file config_flow.py.
| string homeassistant.components.roku.config_flow.ERROR_CANNOT_CONNECT = "cannot_connect" |
Definition at line 27 of file config_flow.py.
| string homeassistant.components.roku.config_flow.ERROR_UNKNOWN = "unknown" |
Definition at line 28 of file config_flow.py.