This commit is contained in:
G Johansson
2026-07-06 12:28:50 +00:00
parent 45fde81b87
commit 41f1fd4f32
2 changed files with 1 additions and 12 deletions
@@ -7,7 +7,6 @@ from typing import Any, cast, override
import voluptuous as vol
from homeassistant.components import websocket_api
from homeassistant.config_entries import ConfigFlowResult
from homeassistant.const import CONF_ENTITIES, CONF_TYPE
from homeassistant.core import HomeAssistant, callback
from homeassistant.exceptions import HomeAssistantError
@@ -343,16 +342,6 @@ class GroupConfigFlowHandler(SchemaConfigFlowHandler, domain=DOMAIN):
options_flow = OPTIONS_FLOW
options_flow_reloads = True
async def async_step_import(self, import_data: dict[str, Any]) -> ConfigFlowResult:
"""Import from a min_max config entry."""
new_data = import_data.copy()
new_data[CONF_ENTITIES] = new_data.pop("entity_ids")
new_data[CONF_GROUP_TYPE] = "sensor"
new_data[CONF_HIDE_MEMBERS] = False
new_data[CONF_IGNORE_NON_NUMERIC] = False
return self.async_create_entry(data=new_data)
@callback
@override
def async_config_entry_title(self, options: Mapping[str, Any]) -> str:
@@ -1,7 +1,7 @@
{
"config": {
"abort": {
"migrated_to_groups": "The min/max integration has been migrated to use groups. Please use the group integration instead."
"migrated_to_groups": "The min/max integration has been migrated to use group sensors. Please use the group integration instead."
},
"step": {
"user": {