diff --git a/homeassistant/components/igloohome/lock.py b/homeassistant/components/igloohome/lock.py index b434c055145..dc79bba9c63 100644 --- a/homeassistant/components/igloohome/lock.py +++ b/homeassistant/components/igloohome/lock.py @@ -1,6 +1,7 @@ """Implementation of the lock platform.""" from datetime import timedelta +from typing import Any from aiohttp import ClientError from igloohome_api import ( @@ -63,7 +64,7 @@ class IgloohomeLockEntity(IgloohomeBaseEntity, LockEntity): ) self.bridge_id = bridge_id - async def async_lock(self, **kwargs): + async def async_lock(self, **kwargs: Any) -> None: """Lock this lock.""" try: await self.api.create_bridge_proxied_job( @@ -72,7 +73,7 @@ class IgloohomeLockEntity(IgloohomeBaseEntity, LockEntity): except (ApiException, ClientError) as err: raise HomeAssistantError from err - async def async_unlock(self, **kwargs): + async def async_unlock(self, **kwargs: Any) -> None: """Unlock this lock.""" try: await self.api.create_bridge_proxied_job( @@ -81,7 +82,7 @@ class IgloohomeLockEntity(IgloohomeBaseEntity, LockEntity): except (ApiException, ClientError) as err: raise HomeAssistantError from err - async def async_open(self, **kwargs): + async def async_open(self, **kwargs: Any) -> None: """Open (unlatch) this lock.""" try: await self.api.create_bridge_proxied_job(