Fix humidifier enforce type hints (#85148)

This commit is contained in:
Martin Hjelmare
2023-01-05 00:58:08 +01:00
committed by GitHub
parent 80c357c00f
commit 8805a7e555

View File

@@ -1441,7 +1441,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
), ),
TypeHintMatch( TypeHintMatch(
function_name="set_humidity", function_name="set_humidity",
arg_types={1: "str"}, arg_types={1: "int"},
return_type=None, return_type=None,
has_async_counterpart=True, has_async_counterpart=True,
), ),