diff --git a/.strict-typing b/.strict-typing index 9cfe0b5a9a7..40d69f7cb56 100644 --- a/.strict-typing +++ b/.strict-typing @@ -75,6 +75,7 @@ homeassistant.components.persistent_notification.* homeassistant.components.pi_hole.* homeassistant.components.proximity.* homeassistant.components.rainmachine.* +homeassistant.components.recollect_waste.* homeassistant.components.recorder.purge homeassistant.components.recorder.repack homeassistant.components.recorder.statistics diff --git a/homeassistant/components/recollect_waste/manifest.json b/homeassistant/components/recollect_waste/manifest.json index 550612fbea2..258d74915f7 100644 --- a/homeassistant/components/recollect_waste/manifest.json +++ b/homeassistant/components/recollect_waste/manifest.json @@ -3,7 +3,7 @@ "name": "ReCollect Waste", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/recollect_waste", - "requirements": ["aiorecollect==1.0.5"], + "requirements": ["aiorecollect==1.0.7"], "codeowners": ["@bachya"], "iot_class": "cloud_polling" } diff --git a/mypy.ini b/mypy.ini index 613a4e3335d..e5c9ccca2dd 100644 --- a/mypy.ini +++ b/mypy.ini @@ -836,6 +836,17 @@ no_implicit_optional = true warn_return_any = true warn_unreachable = true +[mypy-homeassistant.components.recollect_waste.*] +check_untyped_defs = true +disallow_incomplete_defs = true +disallow_subclassing_any = true +disallow_untyped_calls = true +disallow_untyped_decorators = true +disallow_untyped_defs = true +no_implicit_optional = true +warn_return_any = true +warn_unreachable = true + [mypy-homeassistant.components.recorder.purge] check_untyped_defs = true disallow_incomplete_defs = true @@ -1576,9 +1587,6 @@ ignore_errors = true [mypy-homeassistant.components.rachio.*] ignore_errors = true -[mypy-homeassistant.components.recollect_waste.*] -ignore_errors = true - [mypy-homeassistant.components.reddit.*] ignore_errors = true diff --git a/requirements_all.txt b/requirements_all.txt index c8d1df946e3..f99e4ad57ac 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -236,7 +236,7 @@ aiopvpc==2.2.0 aiopylgtv==0.4.0 # homeassistant.components.recollect_waste -aiorecollect==1.0.5 +aiorecollect==1.0.7 # homeassistant.components.shelly aioshelly==0.6.4 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 22f09c13d0d..12f4e7296ad 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -158,7 +158,7 @@ aiopvpc==2.2.0 aiopylgtv==0.4.0 # homeassistant.components.recollect_waste -aiorecollect==1.0.5 +aiorecollect==1.0.7 # homeassistant.components.shelly aioshelly==0.6.4 diff --git a/script/hassfest/mypy_config.py b/script/hassfest/mypy_config.py index b5945d2a6da..8ff72c332da 100644 --- a/script/hassfest/mypy_config.py +++ b/script/hassfest/mypy_config.py @@ -136,7 +136,6 @@ IGNORED_MODULES: Final[list[str]] = [ "homeassistant.components.profiler.*", "homeassistant.components.proxmoxve.*", "homeassistant.components.rachio.*", - "homeassistant.components.recollect_waste.*", "homeassistant.components.reddit.*", "homeassistant.components.ring.*", "homeassistant.components.rpi_power.*",