This commit is contained in:
G Johansson
2026-07-06 12:29:01 +00:00
parent bc0cf84f67
commit 603e3329cb
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -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,
@@ -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"