From 8805a7e555b639dc14f4ec192424aab17c342606 Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Thu, 5 Jan 2023 00:58:08 +0100 Subject: [PATCH] Fix humidifier enforce type hints (#85148) --- pylint/plugins/hass_enforce_type_hints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylint/plugins/hass_enforce_type_hints.py b/pylint/plugins/hass_enforce_type_hints.py index 1e3ab900793..18f577bac33 100644 --- a/pylint/plugins/hass_enforce_type_hints.py +++ b/pylint/plugins/hass_enforce_type_hints.py @@ -1441,7 +1441,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = { ), TypeHintMatch( function_name="set_humidity", - arg_types={1: "str"}, + arg_types={1: "int"}, return_type=None, has_async_counterpart=True, ),