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,7 +23,7 @@ from .pyoasiscontrol.device import (
async def async_setup_entry(
hass: HomeAssistant,
hass: HomeAssistant, # noqa: ARG001
entry: OasisDeviceConfigEntry,
async_add_entities: AddEntitiesCallback,
) -> None:
@@ -31,6 +31,11 @@ async def async_setup_entry(
Set up number entities for Oasis devices from a configuration entry.
Creates number entities for each discovered Oasis device and each descriptor in DESCRIPTORS, then registers those entities with the platform coordinator so they are added to Home Assistant.
Parameters:
hass (HomeAssistant): Home Assistant core object.
entry (OasisDeviceConfigEntry): Configuration entry containing runtime data and devices to expose.
async_add_entities (AddEntitiesCallback): Callback to add created entities to Home Assistant.
"""
def make_entities(new_devices: list[OasisDevice]):