diff options
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r-- | kvmd/apps/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index 20d2d4da..b65a5775 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -382,6 +382,7 @@ def _get_config_scheme() -> Dict: "manufacturer": Option("Pi-KVM"), "product": Option("Composite KVM Device"), "serial": Option("CAFEBABE"), + "max_power": Option(250, type=functools.partial(valid_number, min=0, max=500)), "gadget": Option("kvmd", type=valid_otg_gadget), "udc": Option("", type=valid_stripped_string), |