From 2ea50a438b43bc01545e3fffdfc34c9d8e91a00e Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Mon, 27 May 2024 08:37:22 +0200 Subject: [PATCH] Include all registries --- pylint/plugins/hass_imports.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pylint/plugins/hass_imports.py b/pylint/plugins/hass_imports.py index b11ef233bc2..258b4ed8abf 100644 --- a/pylint/plugins/hass_imports.py +++ b/pylint/plugins/hass_imports.py @@ -397,6 +397,9 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = { # Should be gradually synchronised with pyproject.toml # [tool.ruff.lint.flake8-import-conventions.extend-aliases] _NAMESPACE_IMPORT: dict[str, str] = { + "homeassistant.helpers.area_registry": "ar", + "homeassistant.helpers.device_registry": "dr", + "homeassistant.helpers.entity_registry": "er", "homeassistant.helpers.issue_registry": "ir", }