From 111a77893e15ca362faac1e8cb416442216fc612 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Thu, 2 Feb 2023 22:32:40 +0100 Subject: [PATCH] Improve type hints in whirlpool (#87169) Imrpove type hints in whirlpool --- homeassistant/components/whirlpool/climate.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/whirlpool/climate.py b/homeassistant/components/whirlpool/climate.py index 1c6f770c886..2b658387ef5 100644 --- a/homeassistant/components/whirlpool/climate.py +++ b/homeassistant/components/whirlpool/climate.py @@ -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)