Skip to content

Commit

Permalink
Fix typing in client abstract methods (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Jun 22, 2023
1 parent 0dafa98 commit 3641621
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hass_nabucasa/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,19 @@ async def async_cloud_connect_update(self, connect: bool) -> None:
"""Process cloud remote message to client."""

@abstractmethod
async def async_alexa_message(self, payload: dict[Any, Any]) -> dict[Any, Any]:
async def async_alexa_message(self, payload: dict[str, Any]) -> dict[str, Any]:
"""process cloud alexa message to client."""

@abstractmethod
async def async_system_message(self, payload: dict[Any, Any]) -> None:
async def async_system_message(self, payload: dict[str, Any]) -> None:
"""process cloud system message to client."""

@abstractmethod
async def async_google_message(self, payload: dict[Any, Any]) -> dict[Any, Any]:
async def async_google_message(self, payload: dict[str, Any]) -> dict[str, Any]:
"""Process cloud google message to client."""

@abstractmethod
async def async_webhook_message(self, payload: dict[Any, Any]) -> dict[Any, Any]:
async def async_webhook_message(self, payload: dict[str, Any]) -> dict[str, Any]:
"""Process cloud webhook message to client."""

@abstractmethod
Expand Down

0 comments on commit 3641621

Please sign in to comment.