diff --git a/src/webui/service/service/routes.py b/src/webui/service/service/routes.py index fa3d3b164bd8d470db92fc1041cc972e5e01f19f..08312e5257d13c4b55b83733ded689c7565c4790 100644 --- a/src/webui/service/service/routes.py +++ b/src/webui/service/service/routes.py @@ -98,6 +98,7 @@ def add(): raise NotImplementedError() #return render_template('service/home.html') + def get_hub_module_name(dev: Device) -> Optional[str]: for cr in dev.device_config.config_rules: if cr.action == ConfigActionEnum.CONFIGACTION_SET and cr.custom and cr.custom.resource_key == "_connect/settings":