From 603e3329cb24f988fa9f1e6bbdd10ae024af563e Mon Sep 17 00:00:00 2001 From: G Johansson Date: Mon, 4 May 2026 20:01:54 +0000 Subject: [PATCH] Fixes --- homeassistant/components/min_max/__init__.py | 2 +- homeassistant/components/min_max/strings.json | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/min_max/__init__.py b/homeassistant/components/min_max/__init__.py index fbb3fb63ee88..b3b12b0eb662 100644 --- a/homeassistant/components/min_max/__init__.py +++ b/homeassistant/components/min_max/__init__.py @@ -15,7 +15,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: async_create_issue( hass, DOMAIN, - "migrate_to_group_sensor", + f"migrate_to_group_sensor-{entry.entry_id}", is_fixable=True, is_persistent=False, severity=IssueSeverity.WARNING, diff --git a/homeassistant/components/min_max/strings.json b/homeassistant/components/min_max/strings.json index 1cf7afce51e3..58912b337d7f 100644 --- a/homeassistant/components/min_max/strings.json +++ b/homeassistant/components/min_max/strings.json @@ -20,6 +20,18 @@ } }, "issues": { + "migrate_to_group_sensor": { + "fix_flow": { + "step": { + "migrate": { + "data": {}, + "description": "The integration has been deprecated and your configuration for {title} will be migrated to a group sensor when you click submit on this repair.", + "title": "[%key:component::min_max::issues::migrate_to_group_sensor::title%]" + } + } + }, + "title": "Combine the state of several sensors has been deprecated" + }, "yaml_deprecated": { "description": "The min/max integration has been migrated to use group sensor.\n\nReplace your Min/MaxYAML configuration with this converted configuration:\n{yaml_config}\n\nTo use the new configuration and replace your sensor with a group sensor, restart your Home Assistant.\n\nGroup sensors have more configuration possibilities, refer to the documentation by clicking on learn more.", "title": "Min/Max YAML configuration is deprecated"