diff --git a/homeassistant/helpers/area_registry.py b/homeassistant/helpers/area_registry.py index 10ed9fdd65d..48746b339dc 100644 --- a/homeassistant/helpers/area_registry.py +++ b/homeassistant/helpers/area_registry.py @@ -216,7 +216,7 @@ class AreaRegistry: if not new_values: return old - new = self.areas[area_id] = attr.evolve(old, **new_values) + new = self.areas[area_id] = attr.evolve(old, **new_values) # type: ignore[arg-type] if normalized_name is not None: self._normalized_name_area_idx[ normalized_name diff --git a/requirements_test.txt b/requirements_test.txt index caf29fc558a..097cff38d59 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -12,7 +12,7 @@ codecov==2.1.12 coverage==7.2.1 freezegun==1.2.2 mock-open==1.4.0 -mypy==1.1.1 +mypy==1.2.0 pre-commit==3.1.0 pydantic==1.10.7 pylint==2.17.0