mirror of
https://github.com/home-assistant/core.git
synced 2026-10-06 06:15:47 -04:00
Fixes
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user