diff --git a/homeassistant/components/min_max/repairs.py b/homeassistant/components/min_max/repairs.py index f3522c71716c..b48e2bd3765d 100644 --- a/homeassistant/components/min_max/repairs.py +++ b/homeassistant/components/min_max/repairs.py @@ -49,10 +49,7 @@ class MigrateToGroupSensorFlow(RepairsFlow): config = dict(self.entry.options) config[CONF_ENTITIES] = config.pop(CONF_ENTITY_IDS) config.pop(CONF_ROUND_DIGITS) - # Set group sensor defaults config[CONF_HIDE_MEMBERS] = False - # config[CONF_IGNORE_NON_NUMERIC] = False - # config[CONF_GROUP_TYPE] = SENSOR_DOMAIN config["old_config_entry_id"] = self.entry.entry_id import_result = await self.hass.config_entries.flow.async_init( diff --git a/tests/components/min_max/test_init.py b/tests/components/min_max/test_init.py index accfb1d3bf1f..20c8465c5147 100644 --- a/tests/components/min_max/test_init.py +++ b/tests/components/min_max/test_init.py @@ -189,7 +189,7 @@ async def test_migrate_helper_broken_config( hass_client: ClientSessionGenerator, hass_ws_client: WebSocketGenerator, ) -> None: - """Test migrating to group sensors with manually removed helper.""" + """Test migrating to group sensors with broken config.""" assert await async_setup_component(hass, "repairs", {}) hass.states.async_set("sensor.input_one", "10") hass.states.async_set("switch.input_two", "20") @@ -260,12 +260,7 @@ async def test_migrate_helper_broken_config( async def test_issue_is_deleted_on_removal( hass: HomeAssistant, - entity_registry: er.EntityRegistry, issue_registry: ir.IssueRegistry, - freezer: FrozenDateTimeFactory, - snapshot: SnapshotAssertion, - hass_client: ClientSessionGenerator, - hass_ws_client: WebSocketGenerator, ) -> None: """Test issue is removed on config entry removal.""" assert await async_setup_component(hass, "repairs", {})