diff --git a/homeassistant/components/remote/__init__.py b/homeassistant/components/remote/__init__.py index 5d076c0768f..8c3d094710e 100644 --- a/homeassistant/components/remote/__init__.py +++ b/homeassistant/components/remote/__init__.py @@ -214,7 +214,7 @@ class RemoteEntity(ToggleEntity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_) @property def state_attributes(self) -> dict[str, Any] | None: """Return optional state attributes.""" - if not self.supported_features & RemoteEntityFeature.ACTIVITY: + if RemoteEntityFeature.ACTIVITY not in self.supported_features: return None return {