akkudoktoreos.server.dash.components.make_config_update_value_form
- akkudoktoreos.server.dash.components.make_config_update_value_form(available_values: list[str]) Callable[[str, str], Grid]
Factory for a form that sets a single configuration value with pre-set avaliable values.
- Parameters:
available_values – Allowed values for the configuration
- Returns:
str, value: str) -> Grid
- Return type:
A function (config_name