From 0fd99ecaa275d2caf11c98c9a61fdb20af186061 Mon Sep 17 00:00:00 2001 From: Oliver Maller Date: Sun, 1 Nov 2026 20:18:35 +1100 Subject: [PATCH] Remove deprecated CONNECTION_CLASS from the config flow `config_entries.CONN_CLASS_*` are deprecated and are removed in Home Assistant 2027.5.0. The `CONNECTION_CLASS` attribute on config flows has been ignored by Home Assistant since 2021 (connection class now comes from `iot_class` in manifest.json), so removing it changes no behaviour and works on every Home Assistant version. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01MBiFcnWYcdFj9T5kyzEHwQ --- custom_components/gpodder/config_flow.py | 1 - 1 file changed, 1 deletion(-) diff --git a/custom_components/gpodder/config_flow.py b/custom_components/gpodder/config_flow.py index 03d6221..3bcd046 100644 --- a/custom_components/gpodder/config_flow.py +++ b/custom_components/gpodder/config_flow.py @@ -16,7 +16,6 @@ class GpodderFlowHandler(config_entries.ConfigFlow, domain=DOMAIN): """Config flow for gPodder.""" VERSION = 1 - CONNECTION_CLASS = config_entries.CONN_CLASS_CLOUD_POLL def __init__(self): """Initialize."""