Remove not used group class method (#119798)

This commit is contained in:
Jan Bouwhuis
2024-06-17 00:27:07 +02:00
committed by GitHub
parent 8c613bc869
commit 05e690ba0d

View File

@@ -3,7 +3,6 @@
from __future__ import annotations from __future__ import annotations
from abc import abstractmethod from abc import abstractmethod
import asyncio
from collections.abc import Callable, Collection, Mapping from collections.abc import Callable, Collection, Mapping
import logging import logging
from typing import Any from typing import Any
@@ -262,12 +261,6 @@ class Group(Entity):
"""Test if any member has an assumed state.""" """Test if any member has an assumed state."""
return self._assumed_state return self._assumed_state
def update_tracked_entity_ids(self, entity_ids: Collection[str] | None) -> None:
"""Update the member entity IDs."""
asyncio.run_coroutine_threadsafe(
self.async_update_tracked_entity_ids(entity_ids), self.hass.loop
).result()
async def async_update_tracked_entity_ids( async def async_update_tracked_entity_ids(
self, entity_ids: Collection[str] | None self, entity_ids: Collection[str] | None
) -> None: ) -> None: