1
0
mirror of https://github.com/natekspencer/hacs-oasis_mini.git synced 2025-12-06 18:44:14 -05:00

Add noqa: ARG001 on unused hass

This commit is contained in:
Nathan Spencer
2025-11-24 05:17:26 +00:00
parent 04be6626a7
commit 873d2d4bb0
14 changed files with 34 additions and 26 deletions

View File

@@ -23,8 +23,8 @@ def create_client(hass: HomeAssistant, data: dict[str, Any]) -> OasisCloudClient
Create an Oasis cloud client configured with the Home Assistant HTTP session and access token.
Parameters:
hass: Home Assistant instance used to obtain the shared HTTP client session.
data: Configuration mapping; the function reads the `CONF_ACCESS_TOKEN` key for the cloud access token.
hass (HomeAssistant): Home Assistant instance used to obtain the shared HTTP client session.
data (dict[str, Any]): Configuration mapping; the function reads the `CONF_ACCESS_TOKEN` key for the cloud access token.
Returns:
An `OasisCloudClient` initialized with the Home Assistant HTTP session and the configured access token.