diff --git a/homeassistant/components/group/sensor.py b/homeassistant/components/group/sensor.py index cad794fd6b9..b67e10dd960 100644 --- a/homeassistant/components/group/sensor.py +++ b/homeassistant/components/group/sensor.py @@ -53,7 +53,7 @@ from homeassistant.helpers.issue_registry import ( async_create_issue, async_delete_issue, ) -from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType, StateType +from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType from .const import CONF_IGNORE_NON_NUMERIC, DOMAIN from .entity import GroupEntity @@ -374,7 +374,7 @@ class SensorGroup(GroupEntity, SensorEntity): def async_update_group_state(self) -> None: """Query all members and determine the sensor group state.""" self.calculate_state_attributes(self._get_valid_entities()) - states: list[StateType] = [] + states: list[str] = [] valid_units = self._valid_units valid_states: list[bool] = [] sensor_values: list[tuple[str, float, State]] = []