diff --git a/xknx_custom_panel/__init__.py b/xknx_custom_panel/__init__.py index f565f50..fa809f8 100644 --- a/xknx_custom_panel/__init__.py +++ b/xknx_custom_panel/__init__.py @@ -1 +1,8 @@ """Custom panel for the KNX integration.""" +import os + + +def get_knx_ui() -> str: + """Get path to KNX UI.""" + return os.path.dirname(os.path.realpath(__file__)).replace("__init__.py", "knx_ui.js") +