This commit is contained in:
G Johansson
2026-10-05 16:30:07 +00:00
parent f6d91c3ede
commit 802c3b5953
2 changed files with 1 additions and 12 deletions
@@ -7,7 +7,6 @@ from typing import Any, cast, override
import probatio
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
@@ -349,16 +348,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": {