diff --git a/homeassistant/loader.py b/homeassistant/loader.py index 7c52787b34a..ae823d9a204 100644 --- a/homeassistant/loader.py +++ b/homeassistant/loader.py @@ -1065,8 +1065,8 @@ class Integration: async def async_get_platform(self, platform_name: str) -> ModuleType: """Return a platform for an integration.""" - # Fast path for a single platform when its already - # cached. This is the common case. + # Fast path for a single platform when it is already cached. + # This is the common case. if platform := self._cache.get(f"{self.domain}.{platform_name}"): return platform # type: ignore[return-value] platforms = await self.async_get_platforms((platform_name,))