diff --git a/homeassistant/components/ring/coordinator.py b/homeassistant/components/ring/coordinator.py index 636d8eb069f..5b6412caffa 100644 --- a/homeassistant/components/ring/coordinator.py +++ b/homeassistant/components/ring/coordinator.py @@ -77,7 +77,7 @@ class RingDataCoordinator(DataUpdateCoordinator[dict[int, RingDeviceData]]): try: history_task = None async with TaskGroup() as tg: - if device.has_capability("history"): + if hasattr(device, "history"): history_task = tg.create_task( _call_api( self.hass, diff --git a/homeassistant/components/ring/sensor.py b/homeassistant/components/ring/sensor.py index 17b61a61b68..1e2fa5b7f08 100644 --- a/homeassistant/components/ring/sensor.py +++ b/homeassistant/components/ring/sensor.py @@ -183,7 +183,7 @@ SENSOR_TYPES: tuple[RingSensorEntityDescription, ...] = ( RingSensorEntityDescription( key="last_activity", translation_key="last_activity", - category=["doorbots", "authorized_doorbots", "stickup_cams", "other"], + category=["doorbots", "authorized_doorbots", "stickup_cams"], icon="mdi:history", device_class=SensorDeviceClass.TIMESTAMP, cls=HistoryRingSensor, @@ -191,7 +191,7 @@ SENSOR_TYPES: tuple[RingSensorEntityDescription, ...] = ( RingSensorEntityDescription( key="last_ding", translation_key="last_ding", - category=["doorbots", "authorized_doorbots", "other"], + category=["doorbots", "authorized_doorbots"], icon="mdi:history", kind="ding", device_class=SensorDeviceClass.TIMESTAMP,