mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +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__(
|
||||
self,
|
||||
hass,
|
||||
said,
|
||||
name,
|
||||
hass: HomeAssistant,
|
||||
said: str,
|
||||
name: str | None,
|
||||
backend_selector: BackendSelector,
|
||||
auth: Auth,
|
||||
session: ClientSession,
|
||||
):
|
||||
) -> None:
|
||||
"""Initialize the entity."""
|
||||
self._aircon = Aircon(backend_selector, auth, said, session)
|
||||
self.entity_id = generate_entity_id(ENTITY_ID_FORMAT, said, hass=hass)
|
||||
|
Loading…
x
Reference in New Issue
Block a user