From dda53221995a327837340a9297ae19ad8aa4e96e Mon Sep 17 00:00:00 2001 From: Chris Browet Date: Sun, 6 Jun 2021 11:29:12 +0200 Subject: [PATCH] FIX: iot class --- custom_components/jellyfin/config_flow.py | 2 +- custom_components/jellyfin/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/jellyfin/config_flow.py b/custom_components/jellyfin/config_flow.py index 36c5ac0..8eb6262 100644 --- a/custom_components/jellyfin/config_flow.py +++ b/custom_components/jellyfin/config_flow.py @@ -33,7 +33,7 @@ class JellyfinFlowHandler(config_entries.ConfigFlow): """Config flow for Jellyfin component.""" VERSION = 1 - CONNECTION_CLASS = config_entries.CONN_CLASS_LOCAL_POLL + CONNECTION_CLASS = config_entries.CONN_CLASS_LOCAL_PUSH @staticmethod @callback diff --git a/custom_components/jellyfin/manifest.json b/custom_components/jellyfin/manifest.json index d4da82f..af17d65 100644 --- a/custom_components/jellyfin/manifest.json +++ b/custom_components/jellyfin/manifest.json @@ -7,5 +7,5 @@ "issue_tracker": "https://github.com/koying/jellyfin_ha/issues", "requirements": ["jellyfin-apiclient-python==1.7.2"], "codeowners": ["@koying"], - "iot_class": "cloud_push" + "iot_class": "local_push" } \ No newline at end of file