diff --git a/homeassistant/components/group/__init__.py b/homeassistant/components/group/__init__.py index 32a9bd41014..f185601ce87 100644 --- a/homeassistant/components/group/__init__.py +++ b/homeassistant/components/group/__init__.py @@ -13,6 +13,7 @@ from homeassistant.const import ( ATTR_ENTITY_ID, ATTR_ICON, ATTR_NAME, + CONF_ENTITIES, CONF_ICON, CONF_NAME, ENTITY_MATCH_ALL, @@ -41,7 +42,6 @@ GROUP_ORDER = "group_order" ENTITY_ID_FORMAT = DOMAIN + ".{}" -CONF_ENTITIES = "entities" CONF_ALL = "all" ATTR_ADD_ENTITIES = "add_entities" @@ -345,7 +345,6 @@ async def async_setup(hass, config): async def _process_group_platform(hass, domain, platform): """Process a group platform.""" - current_domain.set(domain) platform.async_describe_on_off_states(hass, hass.data[REG_KEY]) diff --git a/homeassistant/components/group/reproduce_state.py b/homeassistant/components/group/reproduce_state.py index 95915412e4f..adeb0cfee0a 100644 --- a/homeassistant/components/group/reproduce_state.py +++ b/homeassistant/components/group/reproduce_state.py @@ -16,7 +16,6 @@ async def async_reproduce_states( reproduce_options: Optional[Dict[str, Any]] = None, ) -> None: """Reproduce component states.""" - states_copy = [] for state in states: members = get_entity_ids(hass, state.entity_id)