Classes | |
| class | AddDateRangeError |
| class | AddDatesError |
| class | CountryNotExist |
| class | RemoveDateRangeError |
| class | RemoveDatesError |
| class | WorkdayConfigFlow |
| class | WorkdayOptionsFlowHandler |
Functions | |
| bool | _is_valid_date_range (str check_date, type[HomeAssistantError] error) |
| vol.Schema | add_province_and_language_to_schema (vol.Schema schema, str|None country) |
| None | validate_custom_dates (dict[str, Any] user_input) |
Variables | |
| DATA_SCHEMA_OPT | |
Adds config flow for Workday integration.
|
private |
Validate date range.
Definition at line 117 of file config_flow.py.
| vol.Schema homeassistant.components.workday.config_flow.add_province_and_language_to_schema | ( | vol.Schema | schema, |
| str | None | country | ||
| ) |
Update schema with province from country.
Definition at line 54 of file config_flow.py.
| None homeassistant.components.workday.config_flow.validate_custom_dates | ( | dict[str, Any] | user_input | ) |
Validate custom dates for add/remove holidays.
Definition at line 128 of file config_flow.py.
| homeassistant.components.workday.config_flow.DATA_SCHEMA_OPT |
Definition at line 170 of file config_flow.py.