diff --git a/custom_components/jellyfin/config_flow.py b/custom_components/jellyfin/config_flow.py index 027d0b0..0516ff9 100644 --- a/custom_components/jellyfin/config_flow.py +++ b/custom_components/jellyfin/config_flow.py @@ -28,8 +28,7 @@ RESULT_CONN_ERROR = "cannot_connect" RESULT_LOG_MESSAGE = {RESULT_CONN_ERROR: "Connection error"} -@config_entries.HANDLERS.register(DOMAIN) -class JellyfinFlowHandler(config_entries.ConfigFlow): +class JellyfinFlowHandler(config_entries.ConfigFlow, domain=DOMAIN): """Config flow for Jellyfin component.""" VERSION = 1