diff --git a/homeassistant/components/notify/__init__.py b/homeassistant/components/notify/__init__.py index 118579fb0c0..41953ddfc75 100644 --- a/homeassistant/components/notify/__init__.py +++ b/homeassistant/components/notify/__init__.py @@ -116,7 +116,6 @@ class BaseNotificationService: # While not purely typed, it makes typehinting more useful for us # and removes the need for constant None checks or asserts. - # Ignore types: https://github.com/PyCQA/pylint/issues/3167 hass: HomeAssistant = None # type: ignore # Name => target diff --git a/homeassistant/data_entry_flow.py b/homeassistant/data_entry_flow.py index f442e4662c6..720711e07e3 100644 --- a/homeassistant/data_entry_flow.py +++ b/homeassistant/data_entry_flow.py @@ -307,7 +307,9 @@ class FlowHandler: # Set by flow manager cur_step: dict[str, str] | None = None - # Ignore types: https://github.com/PyCQA/pylint/issues/3167 + + # While not purely typed, it makes typehinting more useful for us + # and removes the need for constant None checks or asserts. flow_id: str = None # type: ignore hass: HomeAssistant = None # type: ignore handler: str = None # type: ignore diff --git a/homeassistant/helpers/entity.py b/homeassistant/helpers/entity.py index dd6d1836857..d9b3b28a9ef 100644 --- a/homeassistant/helpers/entity.py +++ b/homeassistant/helpers/entity.py @@ -138,7 +138,6 @@ class Entity(ABC): # Owning hass instance. Will be set by EntityPlatform # While not purely typed, it makes typehinting more useful for us # and removes the need for constant None checks or asserts. - # Ignore types: https://github.com/PyCQA/pylint/issues/3167 hass: HomeAssistant = None # type: ignore # Owning platform instance. Will be set by EntityPlatform