mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Improve type hints in whirlpool (#87169)
Imrpove type hints in whirlpool
This commit is contained in:
parent
8a58d1d321
commit
111a77893e
@ -108,13 +108,13 @@ class AirConEntity(ClimateEntity):
|
|||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
hass,
|
hass: HomeAssistant,
|
||||||
said,
|
said: str,
|
||||||
name,
|
name: str | None,
|
||||||
backend_selector: BackendSelector,
|
backend_selector: BackendSelector,
|
||||||
auth: Auth,
|
auth: Auth,
|
||||||
session: ClientSession,
|
session: ClientSession,
|
||||||
):
|
) -> None:
|
||||||
"""Initialize the entity."""
|
"""Initialize the entity."""
|
||||||
self._aircon = Aircon(backend_selector, auth, said, session)
|
self._aircon = Aircon(backend_selector, auth, said, session)
|
||||||
self.entity_id = generate_entity_id(ENTITY_ID_FORMAT, said, hass=hass)
|
self.entity_id = generate_entity_id(ENTITY_ID_FORMAT, said, hass=hass)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user