Skip to content

Commit ca3f2ee

Browse files
authored
Mark Konnected as Legacy (home-assistant#153193)
1 parent fc8703a commit ca3f2ee

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

homeassistant/components/konnected/__init__.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
Platform,
3636
)
3737
from homeassistant.core import HomeAssistant
38-
from homeassistant.helpers import config_validation as cv
38+
from homeassistant.helpers import config_validation as cv, issue_registry as ir
3939
from homeassistant.helpers.typing import ConfigType
4040

4141
from .config_flow import ( # Loading the config flow file will register the flow
@@ -221,6 +221,19 @@ def import_validator(config):
221221

222222
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
223223
"""Set up the Konnected platform."""
224+
ir.async_create_issue(
225+
hass,
226+
DOMAIN,
227+
"deprecated_firmware",
228+
breaks_in_ha_version="2026.4.0",
229+
is_fixable=False,
230+
issue_domain=DOMAIN,
231+
severity=ir.IssueSeverity.WARNING,
232+
translation_key="deprecated_firmware",
233+
translation_placeholders={
234+
"kb_page_url": "https://support.konnected.io/migrating-from-konnected-legacy-home-assistant-integration-to-esphome",
235+
},
236+
)
224237
if (cfg := config.get(DOMAIN)) is None:
225238
cfg = {}
226239

homeassistant/components/konnected/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"domain": "konnected",
3-
"name": "Konnected.io",
3+
"name": "Konnected.io (Legacy)",
44
"codeowners": ["@heythisisnate"],
55
"config_flow": true,
66
"dependencies": ["http"],

homeassistant/components/konnected/strings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,11 @@
105105
"abort": {
106106
"not_konn_panel": "[%key:component::konnected::config::abort::not_konn_panel%]"
107107
}
108+
},
109+
"issues": {
110+
"deprecated_firmware": {
111+
"title": "Konnected firmware is deprecated",
112+
"description": "Konnected's integration is deprecated and Konnected strongly recommends migrating to their ESPHome based firmware and integration by following the guide at {kb_page_url}. After this migration, make sure you don't have any Konnected YAML configuration left in your configuration.yaml file and remove this integration from Home Assistant."
113+
}
108114
}
109115
}

homeassistant/generated/integrations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3346,7 +3346,7 @@
33463346
"iot_class": "local_push"
33473347
},
33483348
"konnected": {
3349-
"name": "Konnected.io",
3349+
"name": "Konnected.io (Legacy)",
33503350
"integration_type": "hub",
33513351
"config_flow": true,
33523352
"iot_class": "local_push"

0 commit comments

Comments
 (0)